Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3
+1
drivers/char/hw_random/virtio-rng.c
··· 23 23 #include <linux/spinlock.h> 24 24 #include <linux/virtio.h> 25 25 #include <linux/virtio_rng.h> 26 + #include <linux/module.h> 26 27 27 28 static struct virtqueue *vq; 28 29 static unsigned int data_avail;
+1
drivers/char/ps3flash.c
··· 22 22 #include <linux/miscdevice.h> 23 23 #include <linux/slab.h> 24 24 #include <linux/uaccess.h> 25 + #include <linux/module.h> 25 26 26 27 #include <asm/lv1call.h> 27 28 #include <asm/ps3stor.h>
+1
drivers/char/virtio_console.c
··· 32 32 #include <linux/virtio_console.h> 33 33 #include <linux/wait.h> 34 34 #include <linux/workqueue.h> 35 + #include <linux/module.h> 35 36 #include "../tty/hvc/hvc_console.h" 36 37 37 38 /*