summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-03 22:20:30 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:32:14 +0100
commitb5a2c4f1996d1d258ac10897e0bbb57c6904a735 (patch)
treec9f577fb362f4416192792062191f6801f6be145 /drivers/virtio/virtio.c
parentlguest: add export.h to lguest files for THIS_MODULE/EXPORT_SYMBOL (diff)
downloadlinux-b5a2c4f1996d1d258ac10897e0bbb57c6904a735.tar.xz
linux-b5a2c4f1996d1d258ac10897e0bbb57c6904a735.zip
virtio: Add module.h to drivers/virtio users.
Up to now, the module.h header was as hard to keep out as sunlight. But we are cleaning that up. Fix the virtio users who simply expect module.h to be there in every C file. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/virtio/virtio.c')
-rw-r--r--drivers/virtio/virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index efb35aa8309a..984c501c258f 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -1,6 +1,7 @@
#include <linux/virtio.h>
#include <linux/spinlock.h>
#include <linux/virtio_config.h>
+#include <linux/module.h>
/* Unique numbering for virtio devices. */
static unsigned int dev_index;