infiniband: add in export.h for files using EXPORT_SYMBOL/THIS_MODULE
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 19:29:33 +0000 (15:29 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:35 +0000 (19:31 -0400)
These were getting it implicitly via device.h --> module.h but
we are going to stop that when we clean up the headers.

Fix these in advance so the tree remains biscect-clean.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
14 files changed:
drivers/infiniband/core/fmr_pool.c
drivers/infiniband/core/multicast.c
drivers/infiniband/core/netlink.c
drivers/infiniband/core/packer.c
drivers/infiniband/core/ud_header.c
drivers/infiniband/core/umem.c
drivers/infiniband/core/uverbs_marshall.c
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/ipath/ipath_diag.c
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/infiniband/hw/mthca/mthca_provider.c
drivers/infiniband/hw/qib/qib_diag.c
drivers/infiniband/hw/qib/qib_file_ops.c
drivers/infiniband/ulp/ipoib/ipoib_fs.c

index 4507043d24c8c7df0580bba9afb7c3ed935c091c..176c8f90f2bb359f0b3a933eae1e9ab696518f79 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <linux/errno.h>
 #include <linux/spinlock.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/jhash.h>
 #include <linux/kthread.h>
index 68b4162fd9d2b17ee33a2d565b381bafa94c7ae2..d2360a8ef0b29ea6d6c9a3bebc05cf07b087a02f 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/err.h>
 #include <linux/interrupt.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/bitops.h>
 #include <linux/random.h>
index 9227f4acd79c7dd457a3188abb8cf327d458bd07..d1c8196d15d7e9b33cafd71606c2cb2383055623 100644 (file)
@@ -32,6 +32,7 @@
 
 #define pr_fmt(fmt) "%s:%s: " fmt, KBUILD_MODNAME, __func__
 
+#include <linux/export.h>
 #include <net/netlink.h>
 #include <net/net_namespace.h>
 #include <net/sock.h>
index 019bd4b0863e2ea34441f5ec10d2d9592d11722e..1b65986c0be3daaf5a437b3f6c3b773f7a26c329 100644 (file)
@@ -31,6 +31,7 @@
  * SOFTWARE.
  */
 
+#include <linux/export.h>
 #include <linux/string.h>
 
 #include <rdma/ib_pack.h>
index 9b737ff133e21d143982a57df0a581753450a6f3..72feee620ebfb33300a2121a2a22d0fc1d1eafb3 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <linux/errno.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/if_ether.h>
 
 #include <rdma/ib_pack.h>
index b645e558876f89e49797c0971b4f55a9799c3522..cc92137b3e02452e0af79b9a7cf313e376fe188c 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/mm.h>
 #include <linux/dma-mapping.h>
 #include <linux/sched.h>
+#include <linux/export.h>
 #include <linux/hugetlb.h>
 #include <linux/dma-attrs.h>
 #include <linux/slab.h>
index 1b1146f87124e2618ef80a8303fabe681a464782..e7bee46868d1cc8be8da98eee2e427de6ca37b20 100644 (file)
@@ -30,6 +30,7 @@
  * SOFTWARE.
  */
 
+#include <linux/export.h>
 #include <rdma/ib_marshall.h>
 
 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst,
index af7a8b08b2e95abe26704c747ba68bea63e97937..a8923ffc64594eba2e00a83645bd4d58534d011b 100644 (file)
@@ -38,6 +38,7 @@
 
 #include <linux/errno.h>
 #include <linux/err.h>
+#include <linux/export.h>
 #include <linux/string.h>
 
 #include <rdma/ib_verbs.h>
index daef61d5e5bb58afaf224da91a9789869a1224ce..714293b78518598c7fe262315de6cbfaafe9263b 100644 (file)
@@ -45,6 +45,7 @@
 #include <linux/pci.h>
 #include <linux/vmalloc.h>
 #include <linux/fs.h>
+#include <linux/export.h>
 #include <asm/uaccess.h>
 
 #include "ipath_kernel.h"
index 8697eca14356a021f24755fc31808f785009417c..736d9edbdbe720bb25a2e1ace073984e43373faa 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/poll.h>
 #include <linux/cdev.h>
 #include <linux/swap.h>
+#include <linux/export.h>
 #include <linux/vmalloc.h>
 #include <linux/slab.h>
 #include <linux/highmem.h>
index 463943ccf4627332c7e43f3be41dfaf4401c98d2..4f8adca11e942160ddc67aca15bef5b9f06f551d 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/slab.h>
 #include <linux/stat.h>
 #include <linux/mm.h>
+#include <linux/export.h>
 
 #include "mthca_dev.h"
 #include "mthca_cmd.h"
index 204c4dd9dce0608eecfcfa74822e837d9e895916..9892456a4348afde551ed22b8b5814b8d88a608a 100644 (file)
@@ -46,6 +46,7 @@
 #include <linux/pci.h>
 #include <linux/poll.h>
 #include <linux/vmalloc.h>
+#include <linux/export.h>
 #include <linux/fs.h>
 #include <linux/uaccess.h>
 
index 26253039d2c7117a1d45f3c9afd13ee804406c93..6d38e24397c5f4636855e90679bdc853bd87c86c 100644 (file)
@@ -43,6 +43,7 @@
 #include <linux/jiffies.h>
 #include <asm/pgtable.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 
 #include "qib.h"
 #include "qib_common.h"
index 86eae229dc49eb5c12d517f4c6c8d60a139160e6..a3dcf455a2f811732271eb46c7eec48efebb678d 100644 (file)
@@ -37,6 +37,7 @@
 struct file_operations;
 
 #include <linux/debugfs.h>
+#include <linux/export.h>
 
 #include "ipoib.h"