]> git.openfabrics.org - ~shefty/rdma-dev.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>
Mon, 31 Oct 2011 23:31:27 +0000 (19:31 -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 648b6a3efa32d2c27da8f694b24591eb20885ee9..7c867a046c9752214773ba5f2a1237893ed2ebfd 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 2af5aa5f3a80e3a8a08c464fb5855d09a199a7fa..8a6cc8c30b5a74eafdb774e1986712d9e80da61c 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 d73aadd7a9ad6614385b62f92582c5c7b87c7b61..90c40f22ec709422e51a52648db2ea2fde4bfd9a 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 db00b595cab08eba2edc1d6295b6b66946becaf7..7827000db4f558901a92551fd067943b78c079ed 100644 (file)
@@ -36,6 +36,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 a4b63bfeaa2f4e1a03d80ac0db64b6a883726325..e76c8b747fb83876dbf3c685c41fdb4dcedd4415 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/platform_device.h>
 #include <linux/ioport.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "timbuart.h"
 
index 8c03b127fd03145f6d99b5796c57319d392264ab..b627363352e5c3fe8e32fff003830f7834bff7ee 100644 (file)
@@ -20,6 +20,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"