diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-03 13:35:48 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:40 -0400 |
commit | c22405c98d3ff7042e369370d2bf54f9607d0f09 (patch) | |
tree | d9eae01697a87fd4eda1c8a31ff4fcdfc00f9432 /drivers/char | |
parent | aaf195444be47aa3d3776825b3b384a61f40dca4 (diff) |
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 <module.h> explicitly in advance.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/virtio-rng.c | 1 | ||||
-rw-r--r-- | drivers/char/ps3flash.c | 1 | ||||
-rw-r--r-- | drivers/char/virtio_console.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c index 75f1cbd61c17..fd699ccecf5b 100644 --- a/drivers/char/hw_random/virtio-rng.c +++ b/drivers/char/hw_random/virtio-rng.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/spinlock.h> | 23 | #include <linux/spinlock.h> |
24 | #include <linux/virtio.h> | 24 | #include <linux/virtio.h> |
25 | #include <linux/virtio_rng.h> | 25 | #include <linux/virtio_rng.h> |
26 | #include <linux/module.h> | ||
26 | 27 | ||
27 | static struct virtqueue *vq; | 28 | static struct virtqueue *vq; |
28 | static unsigned int data_avail; | 29 | static unsigned int data_avail; |
diff --git a/drivers/char/ps3flash.c b/drivers/char/ps3flash.c index d0c57c2e2909..6abdde4da2b7 100644 --- a/drivers/char/ps3flash.c +++ b/drivers/char/ps3flash.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/miscdevice.h> | 22 | #include <linux/miscdevice.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/uaccess.h> | 24 | #include <linux/uaccess.h> |
25 | #include <linux/module.h> | ||
25 | 26 | ||
26 | #include <asm/lv1call.h> | 27 | #include <asm/lv1call.h> |
27 | #include <asm/ps3stor.h> | 28 | #include <asm/ps3stor.h> |
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index fb68b1295373..97044319bc7b 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/virtio_console.h> | 32 | #include <linux/virtio_console.h> |
33 | #include <linux/wait.h> | 33 | #include <linux/wait.h> |
34 | #include <linux/workqueue.h> | 34 | #include <linux/workqueue.h> |
35 | #include <linux/module.h> | ||
35 | #include "../tty/hvc/hvc_console.h" | 36 | #include "../tty/hvc/hvc_console.h" |
36 | 37 | ||
37 | /* | 38 | /* |