]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tty: Add module.h to drivers/tty users who just expect it there.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 20:14:23 +0000 (16:14 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:55:22 +0000 (13:55 -0400)
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>
drivers/tty/hvc/hvc_iseries.c
drivers/tty/hvc/hvc_vio.c
drivers/tty/serial/jsm/jsm_driver.c
drivers/tty/serial/kgdboc.c
drivers/tty/serial/max3100.c
drivers/tty/serial/max3107-aava.c
drivers/tty/serial/max3107.c
drivers/tty/serial/timbuart.c
drivers/tty/serial/xilinx_uartps.c

index 21c54955084e743c17bfcbb817ac5464fe717e36..3f4a897bf4d7b39d4977bbe3b0698bf5fffa1f09 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/spinlock.h>
 #include <linux/console.h>
 
index 130aace67f3103c2e8bb6209de58d6ee65c031a0..fc3c3ad6c0727918412f5f778ffb704d7f8d1ad0 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <linux/console.h>
+#include <linux/module.h>
 
 #include <asm/hvconsole.h>
 #include <asm/vio.h>
index 96da17868cf3c46bad25d743c4a304e37fca2c30..ade89c1e5e8fa367325caa07194eb0779a2b824a 100644 (file)
@@ -24,7 +24,7 @@
  *
  *
  ***********************************************************************/
-#include <linux/moduleparam.h>
+#include <linux/module.h>
 #include <linux/pci.h>
 #include <linux/slab.h>
 
index 87e7e6c876d4b857aacea79feab04bf3c5d04953..2b42a01a81c6984ace5d8b343d6920c4a0ed748a 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/console.h>
 #include <linux/vt_kern.h>
 #include <linux/input.h>
+#include <linux/module.h>
 
 #define MAX_CONFIG_LEN         40
 
index 7b951adac54b8a30e88a1cf272329d2d7c63e766..541fe79284a6ee81a4653c2f493e01120f7b8fca 100644 (file)
@@ -43,6 +43,7 @@
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <linux/device.h>
+#include <linux/module.h>
 #include <linux/serial_core.h>
 #include <linux/serial.h>
 #include <linux/spi/spi.h>
index a1fe304f2f5204adf43c2a26171886198719ac91..0b98a77555361734a1fcf7968ae56a14729f9a3b 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
 #include <linux/sfi.h>
+#include <linux/module.h>
 #include <asm/mrst.h>
 #include "max3107.h"
 
index 750b4f627315e465e7c9eed0f7d9fd172f869c13..8d56d1bc3ea3f4308cb099952900e5433f07bd08 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/gpio.h>
 #include <linux/spi/spi.h>
 #include <linux/freezer.h>
+#include <linux/module.h>
 #include "max3107.h"
 
 static const struct baud_table brg26_ext[] = {
index 1f36b7eb7351efec3ed4dd72f6cf7f431c515f96..e213535c9ede837354b5290fc953ff4812209446 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/platform_device.h>
 #include <linux/ioport.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "timbuart.h"
 
index 19cc1e8149ddbf2049f7f6aa29230a1da82a7c57..5d043de65dcf78bc422231f259daf4ec35222d53 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/irq.h>
 #include <linux/io.h>
 #include <linux/of.h>
+#include <linux/module.h>
 
 #define XUARTPS_TTY_NAME       "ttyPS"
 #define XUARTPS_NAME           "xuartps"