scsi: Fix up files implicitly depending on module.h inclusion
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 13:47:43 +0000 (09:47 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:24 +0000 (19:31 -0400)
The module.h header was implicitly present everywhere, so files
with no explicit include of the module infrastructure would build
anyway.  We are now removing the implicit include, and so we need
to call out the module.h file that we need explicitly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
25 files changed:
drivers/scsi/a2091.c
drivers/scsi/a3000.c
drivers/scsi/aacraid/aachba.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/cxgbi/libcxgbi.c
drivers/scsi/device_handler/scsi_dh.c
drivers/scsi/device_handler/scsi_dh_alua.c
drivers/scsi/device_handler/scsi_dh_emc.c
drivers/scsi/device_handler/scsi_dh_hp_sw.c
drivers/scsi/device_handler/scsi_dh_rdac.c
drivers/scsi/gvp11.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/libfc/fc_libfc.c
drivers/scsi/libfc/fc_lport.c
drivers/scsi/libiscsi.c
drivers/scsi/libiscsi_tcp.c
drivers/scsi/libsrp.c
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_debugfs.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/mac53c94.c
drivers/scsi/megaraid/megaraid_mbox.c
drivers/scsi/osd/osd_initiator.c
drivers/scsi/ps3rom.c
drivers/scsi/sr_ioctl.c

index 1bb5d3f0e260f1a94a74b15deb47301212784d19..79a30633d4aa1d9af1cf69f5ae27c2ee666e4d87 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/zorro.h>
+#include <linux/module.h>
 
 #include <asm/page.h>
 #include <asm/pgtable.h>
index d9468027fb6150caed5a9854623b5673ddff58a4..e29fe0e708f8f4e63fbcc0f9f20142ce06d6517f 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
+#include <linux/module.h>
 
 #include <asm/page.h>
 #include <asm/pgtable.h>
index 061995741444b379b007886f7fe0bd2acb7b8ac1..409f5805bdd63e06459906a04a7592eebeea9aae 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/blkdev.h>
 #include <asm/uaccess.h>
 #include <linux/highmem.h> /* For flush_kernel_dcache_page */
+#include <linux/module.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_cmnd.h>
index 7b0a8ab710494c120d0d7b2338ebe218e6883cbf..379c696dac19cb31f6c2cb43f9bcc0e647a89725 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/kernel.h>
 #include <linux/semaphore.h>
 #include <linux/iscsi_boot_sysfs.h>
+#include <linux/module.h>
 
 #include <scsi/libiscsi.h>
 #include <scsi/scsi_transport_iscsi.h>
index c363a4b260fd7292279c938a5d1a0489eabda007..c10f74a566f2d58741e0c2012b15017e8ce07a5f 100644 (file)
@@ -25,6 +25,7 @@
 #include <net/dst.h>
 #include <net/route.h>
 #include <linux/inetdevice.h>  /* ip_dev_find */
+#include <linux/module.h>
 #include <net/tcp.h>
 
 static unsigned int dbg_level;
index 7c05fd9dccfd1259133adaa1691df648cff56521..2a6cf73ec92df42e3df7789a9d543363a80ea268 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <scsi/scsi_dh.h>
 #include "../scsi_priv.h"
 
index 627f4b5e5176b16e9cc969c0b98ac80a85c4afb1..25bfcfaa67833100211c2e07a9072a5aa18d5d83 100644 (file)
@@ -21,6 +21,7 @@
  */
 #include <linux/slab.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_eh.h>
 #include <scsi/scsi_dh.h>
index 48441f6908a4c2f3fa040f9dd54313ae55fb82be..591186cf1896abbd0031e4a2bd45682e2b6d5191 100644 (file)
@@ -21,6 +21,7 @@
  * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_eh.h>
 #include <scsi/scsi_dh.h>
index b479f1eef96878ae71f73c2e2d5f1c2bf6f52f51..0f86a18b157de47dc7dd8028ee727aa7d56a8b18 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_dbg.h>
 #include <scsi/scsi_eh.h>
index 82d612f0c49dc1d422e0f3efc817bab2c947ffff..1d31279200639074b87aa075475d1e84f77bf2eb 100644 (file)
@@ -24,6 +24,7 @@
 #include <scsi/scsi_dh.h>
 #include <linux/workqueue.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #define RDAC_NAME "rdac"
 #define RDAC_RETRY_COUNT 5
index 50bb54150a7899d015c75e403545ecfb78b619c1..488fbc648656409be4bfb77167171d53b5e1839f 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/zorro.h>
+#include <linux/module.h>
 
 #include <asm/page.h>
 #include <asm/pgtable.h>
index 23e706673d066117cbcf673d8f495987a69754b5..7c34d8e7cc7552f3c8e30a23279d1a78923f7e2b 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/delay.h>
 #include <linux/kfifo.h>
 #include <linux/scatterlist.h>
+#include <linux/module.h>
 #include <net/tcp.h>
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_device.h>
index b7735129f1f36ed3b90eff3c3db900659fd42c84..1bf9841ef154c6cc5fb3322cfa097689fe84fd8a 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/types.h>
 #include <linux/scatterlist.h>
 #include <linux/crc32.h>
+#include <linux/module.h>
 
 #include <scsi/libfc.h>
 #include <scsi/fc_encode.h>
index 628f347404f9b355e1fbe14bd58fdae3f0d7171d..31018a8465ab840020f0518a3a7fec8bf5d36ed7 100644 (file)
@@ -89,6 +89,7 @@
 
 #include <linux/timer.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <asm/unaligned.h>
 
index d7c76f2eb6368eac8f6b1d0e50f51fe6f087e53c..143bbe448bec6b7e4a22f52eeb3c718c64815473 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/delay.h>
 #include <linux/log2.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <asm/unaligned.h>
 #include <net/tcp.h>
 #include <scsi/scsi_cmnd.h>
index 09b232fd9a1bb6c59764ac35f64e7838b5469c4c..5715a3d0a3d3e7db2b8a1b4c4de6ac983c4f6f48 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/delay.h>
 #include <linux/kfifo.h>
 #include <linux/scatterlist.h>
+#include <linux/module.h>
 #include <net/tcp.h>
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_device.h>
index ff6a28ce9b6900f647145120830cb7de96b439b7..0707ecdbaa32d271b923caa9cea38da9b13a1881 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/kfifo.h>
 #include <linux/scatterlist.h>
 #include <linux/dma-mapping.h>
+#include <linux/module.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_tcq.h>
index 4b0333ee2d948be0eaabcb225cd9c4ed0115e51c..d0ebaeb7ef60e96857c18999a6048a39247126e2 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/delay.h>
 #include <linux/pci.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/aer.h>
 #include <linux/gfp.h>
 #include <linux/kernel.h>
index 2cd844f7058f0ec20745485fc14f71afd33ee670..28382596fb9a929545ae6bb9e4984b5d385aa274 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/blkdev.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/dma-mapping.h>
 #include <linux/idr.h>
 #include <linux/interrupt.h>
index 907c94b9245dc0989ae6184506a449543e4ccef0..55bc4fc7376f5a753f08e2d8aa44b3846cc377e6 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/idr.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/kthread.h>
 #include <linux/pci.h>
 #include <linux/spinlock.h>
index 6c42dff0f4d30d77e68dbfc445e961bfb55a786a..e6173376605d4d9f52bb01727f6d078f3da26ab9 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/stat.h>
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <asm/dbdma.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
index 8883ca36f932826e76a5e6995ac5dab7494a6f4d..35bd13879fed613de539b0719e2191da7956cedd 100644 (file)
@@ -71,6 +71,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "megaraid_mbox.h"
 
 static int megaraid_init(void);
index 86afb13f1e79daf521c4f835a63b4926ad422087..c06b8e5aa2cf3c2a488fa6f5af0455b54cf03e78 100644 (file)
@@ -40,6 +40,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <scsi/osd_initiator.h>
 #include <scsi/osd_sec.h>
index cd178b9e40cdde6d0266d103974357028a3e3807..959f10055be77cf2e9cf04e98d0229633cfa8489 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/cdrom.h>
 #include <linux/highmem.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 #include <scsi/scsi.h>
index 8be30554119bf0c9e88bc1ffef7cbbab33448676..a3911c39ea50ae1f0ff98c2108f1b40377b314da 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/errno.h>
 #include <linux/string.h>
 #include <linux/blkdev.h>
+#include <linux/module.h>
 #include <linux/blkpg.h>
 #include <linux/cdrom.h>
 #include <linux/delay.h>