infiniband: Fix up module files that need to include module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 19:35:46 +0000 (15:35 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:35 +0000 (19:31 -0400)
They had been getting it implicitly via device.h but we can't
rely on that for the future, due to a pending cleanup so fix
it now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
19 files changed:
drivers/infiniband/core/addr.c
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c
drivers/infiniband/core/iwcm.c
drivers/infiniband/core/mad.c
drivers/infiniband/core/ucma.c
drivers/infiniband/hw/cxgb4/qp.c
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_verbs.c
drivers/infiniband/hw/mthca/mthca_catas.c
drivers/infiniband/hw/mthca/mthca_cmd.c
drivers/infiniband/hw/qib/qib_driver.c
drivers/infiniband/hw/qib/qib_iba7220.c
drivers/infiniband/hw/qib/qib_iba7322.c
drivers/infiniband/hw/qib/qib_init.c
drivers/infiniband/hw/qib/qib_pcie.c
drivers/infiniband/hw/qib/qib_sd7220.c
drivers/infiniband/hw/qib/qib_verbs.c
drivers/infiniband/ulp/iser/iscsi_iser.c

index 236ad9a89c0a403a7cf3a65e17fbbffe1ef14919..691276bafd7812c168c4dadbe1aa315bf43bad80 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/inetdevice.h>
 #include <linux/slab.h>
 #include <linux/workqueue.h>
+#include <linux/module.h>
 #include <net/arp.h>
 #include <net/neighbour.h>
 #include <net/route.h>
index fc0f2bd9ca82518b50653e794d68ac35237d40e7..82013946efc99d13566fc1bbfcd68bea28351c21 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/completion.h>
 #include <linux/dma-mapping.h>
 #include <linux/device.h>
+#include <linux/module.h>
 #include <linux/err.h>
 #include <linux/idr.h>
 #include <linux/interrupt.h>
index ca4c5dcd7133365f09dc60d83f623d4b5412ec4d..b05716300d2f56ac45a3fe77bd791cea41fd388a 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/idr.h>
 #include <linux/inetdevice.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <net/tcp.h>
 #include <net/ipv6.h>
index a9c042345c6fe14260d480c355aebea38d240842..1a696f76b61627b77c2653e7c5275ca19b2bb628 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/workqueue.h>
 #include <linux/completion.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <rdma/iw_cm.h>
 #include <rdma/ib_addr.h>
index b4d8672a3e4ef539481a4089cc25f8c7b8f38901..bb3dad20bb8371b5561285b5c716df0c442325e5 100644 (file)
@@ -35,6 +35,7 @@
  */
 #include <linux/dma-mapping.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <rdma/ib_cache.h>
 
 #include "mad_priv.h"
index 71be5eebd683a52605096ecf7745ee0d93af758d..e29f7e1dcca0c4944e02e3be8bd71d1dacb6e82b 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/miscdevice.h>
 #include <linux/slab.h>
 #include <linux/sysctl.h>
+#include <linux/module.h>
 
 #include <rdma/rdma_user_cm.h>
 #include <rdma/ib_marshall.h>
index a41578e48c7b0bb366795bfd3da1dd961f3d42d1..60056e2b8d990593644db10c7810edef9a4a8055 100644 (file)
@@ -29,6 +29,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
  */
+
+#include <linux/module.h>
+
 #include "iw_cxgb4.h"
 
 static int ocqp_support = 1;
index be24ac726114172eba6bfd64939b480c961c4342..bfca37b2432f44fa3fa5d577aafd352759c68547 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/vmalloc.h>
 #include <linux/bitmap.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "ipath_kernel.h"
 #include "ipath_verbs.h"
index dd7f26d04d46b6d9def83d3f1b1dcd8d04e75fc7..439c35d4a669978aba8820151f2f6c98f5a47558 100644 (file)
@@ -35,6 +35,7 @@
 #include <rdma/ib_user_verbs.h>
 #include <linux/io.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <linux/utsname.h>
 #include <linux/rculist.h>
 
index e4a08c2819e43f77ac6f79d79dcf5e5eb0c09c76..712d2a30fbe59d8d9b11f327eb95881c9f366d7f 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include <linux/jiffies.h>
+#include <linux/module.h>
 #include <linux/timer.h>
 #include <linux/workqueue.h>
 
index 3082b3b3d620aec288d0f5245be798f09a6f65bf..9d3e5c1ac60e44ca5ba1014fa43fa1e6483694ec 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/pci.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <asm/io.h>
 #include <rdma/ib_mad.h>
index 23e584f4c36c772c2647e72f3e60c962a74c23aa..43a8e030194e7beee2ac5ce3afe3f0cf8b88f595 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/delay.h>
 #include <linux/netdevice.h>
 #include <linux/vmalloc.h>
+#include <linux/module.h>
 
 #include "qib.h"
 
index e1f947446c2a5bac53c28699c3ac3792924fea9b..357234732b66f330dbc9c2a1e33357385c7e8f92 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/interrupt.h>
 #include <linux/pci.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/io.h>
 #include <rdma/ib_verbs.h>
 
index 5ea9ece23b33996bedbcb652ecb2bb116c5c5ec2..a9dc6935e07f735a3a10c0cae5ee5c2acb80280c 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/jiffies.h>
+#include <linux/module.h>
 #include <rdma/ib_verbs.h>
 #include <rdma/ib_smi.h>
 
index a01f3fce8eb3f10616efe2e31e6ec2b660df9c65..bf9c4a41a4e935410fc48178b68a2da689281ea0 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/vmalloc.h>
 #include <linux/delay.h>
 #include <linux/idr.h>
+#include <linux/module.h>
 
 #include "qib.h"
 #include "qib_common.h"
index 4426782ad288930b97ff34f6d892b3a364a8983e..97a8bdf68e605267f635edf4423ccfdf366a4971 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/delay.h>
 #include <linux/vmalloc.h>
 #include <linux/aer.h>
+#include <linux/module.h>
 
 #include "qib.h"
 
index e9f9f8bc3204adf2a3ae0051f10dffbdffc8fed4..de1a4b2f33c084aee485b5ea6454702ea78455d9 100644 (file)
@@ -38,6 +38,7 @@
 
 #include <linux/pci.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/firmware.h>
 
 #include "qib.h"
index 9fab404888505be57b9fdbc1f813f3ae28e290c1..1d24652b2c390f1d26ba0240a05500ac89934668 100644 (file)
@@ -35,6 +35,7 @@
 #include <rdma/ib_mad.h>
 #include <rdma/ib_user_verbs.h>
 #include <linux/io.h>
+#include <linux/module.h>
 #include <linux/utsname.h>
 #include <linux/rculist.h>
 #include <linux/mm.h>
index 84e8c293a71550990e044bce646c55e462dde836..526310768d9a2be5698780d28a22c1d4c769b72f 100644 (file)
@@ -57,6 +57,7 @@
 #include <linux/scatterlist.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include <net/sock.h>