summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-03 19:35:48 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:40 +0100
commitc22405c98d3ff7042e369370d2bf54f9607d0f09 (patch)
treed9eae01697a87fd4eda1c8a31ff4fcdfc00f9432 /drivers/char/hw_random
parentdrivers/base: change module.h -> export.h in power/common.c (diff)
downloadlinux-c22405c98d3ff7042e369370d2bf54f9607d0f09.tar.xz
linux-c22405c98d3ff7042e369370d2bf54f9607d0f09.zip
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/hw_random')
-rw-r--r--drivers/char/hw_random/virtio-rng.c1
1 files changed, 1 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 @@
#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;