tty: Add module.h to drivers/tty users who just expect it there.

We are cleaning up the issue that means module.h is omnipresent.
These tty users are the people who implictly are relying on that.
Fix up the real users to call out the include that they really need.

In the case of jsm_driver.c file, it had moduleparam.h but that
isn't enough and it needs the full module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
Paul Gortmaker 2011-05-27 16:14:23 -04:00
parent a59b968ee0
commit 578b9ce009
9 changed files with 9 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/console.h> #include <linux/console.h>

View File

@ -41,6 +41,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/console.h> #include <linux/console.h>
#include <linux/module.h>
#include <asm/hvconsole.h> #include <asm/hvconsole.h>
#include <asm/vio.h> #include <asm/vio.h>

View File

@ -24,7 +24,7 @@
* *
* *
***********************************************************************/ ***********************************************************************/
#include <linux/moduleparam.h> #include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/slab.h> #include <linux/slab.h>

View File

@ -19,6 +19,7 @@
#include <linux/console.h> #include <linux/console.h>
#include <linux/vt_kern.h> #include <linux/vt_kern.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/module.h>
#define MAX_CONFIG_LEN 40 #define MAX_CONFIG_LEN 40

View File

@ -43,6 +43,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/module.h>
#include <linux/serial_core.h> #include <linux/serial_core.h>
#include <linux/serial.h> #include <linux/serial.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>

View File

@ -36,6 +36,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/sfi.h> #include <linux/sfi.h>
#include <linux/module.h>
#include <asm/mrst.h> #include <asm/mrst.h>
#include "max3107.h" #include "max3107.h"

View File

@ -36,6 +36,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/freezer.h> #include <linux/freezer.h>
#include <linux/module.h>
#include "max3107.h" #include "max3107.h"
static const struct baud_table brg26_ext[] = { static const struct baud_table brg26_ext[] = {

View File

@ -29,6 +29,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/module.h>
#include "timbuart.h" #include "timbuart.h"

View File

@ -20,6 +20,7 @@
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/module.h>
#define XUARTPS_TTY_NAME "ttyPS" #define XUARTPS_TTY_NAME "ttyPS"
#define XUARTPS_NAME "xuartps" #define XUARTPS_NAME "xuartps"