From: Paul Gortmaker Date: Sun, 3 Jul 2011 17:35:48 +0000 (-0400) Subject: drivers/char: Add module.h to those who were using it implicitly X-Git-Tag: upstream/snapshot3+hdmi~8782^2~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c22405c98d3ff7042e369370d2bf54f9607d0f09;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drivers/char: Add module.h to those who were using it implicitly A pending cleanup will mean that module.h won't be implicitly everywhere anymore. Make sure the modular drivers in char are actually calling out for explicitly in advance. Signed-off-by: Paul Gortmaker --- diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c index 75f1cbd..fd699cc 100644 --- a/drivers/char/hw_random/virtio-rng.c +++ b/drivers/char/hw_random/virtio-rng.c @@ -23,6 +23,7 @@ #include #include #include +#include static struct virtqueue *vq; static unsigned int data_avail; diff --git a/drivers/char/ps3flash.c b/drivers/char/ps3flash.c index d0c57c2..6abdde4 100644 --- a/drivers/char/ps3flash.c +++ b/drivers/char/ps3flash.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index fb68b12..9704431 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -32,6 +32,7 @@ #include #include #include +#include #include "../tty/hvc/hvc_console.h" /*