提交 c22405c9 编写于 作者: P Paul Gortmaker

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: NPaul Gortmaker <paul.gortmaker@windriver.com>
上级 aaf19544
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/virtio.h> #include <linux/virtio.h>
#include <linux/virtio_rng.h> #include <linux/virtio_rng.h>
#include <linux/module.h>
static struct virtqueue *vq; static struct virtqueue *vq;
static unsigned int data_avail; static unsigned int data_avail;
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/module.h>
#include <asm/lv1call.h> #include <asm/lv1call.h>
#include <asm/ps3stor.h> #include <asm/ps3stor.h>
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <linux/virtio_console.h> #include <linux/virtio_console.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/module.h>
#include "../tty/hvc/hvc_console.h" #include "../tty/hvc/hvc_console.h"
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册