summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-03 13:35:48 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:40 -0400
commitc22405c98d3ff7042e369370d2bf54f9607d0f09 (patch)
treed9eae01697a87fd4eda1c8a31ff4fcdfc00f9432 /drivers/char
parentaaf195444be47aa3d3776825b3b384a61f40dca4 (diff)
downloadop-kernel-dev-c22405c98d3ff7042e369370d2bf54f9607d0f09.zip
op-kernel-dev-c22405c98d3ff7042e369370d2bf54f9607d0f09.tar.gz
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.c1
-rw-r--r--drivers/char/ps3flash.c1
-rw-r--r--drivers/char/virtio_console.c1
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 75f1cbd..fd699cc 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -23,6 +23,7 @@
#include <linux/spinlock.h>
#include <linux/virtio.h>
#include <linux/virtio_rng.h>
+#include <linux/module.h>
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 <linux/miscdevice.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
+#include <linux/module.h>
#include <asm/lv1call.h>
#include <asm/ps3stor.h>
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 <linux/virtio_console.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
+#include <linux/module.h>
#include "../tty/hvc/hvc_console.h"
/*
OpenPOWER on IntegriCloud