scsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 13:37:25 +0000 (09:37 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:23 +0000 (19:31 -0400)
For the basic SCSI infrastructure files that are exporting symbols
but not modules themselves, add in the basic export.h header file
to allow the exports.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
16 files changed:
drivers/scsi/bfa/bfad_debugfs.c
drivers/scsi/bfa/bfad_im.c
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_elsct.c
drivers/scsi/libfc/fc_exch.c
drivers/scsi/libfc/fc_npiv.c
drivers/scsi/libfc/fc_rport.c
drivers/scsi/libsas/sas_host_smp.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/libsas/sas_task.c
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_lib_dma.c
drivers/scsi/scsi_netlink.c
drivers/scsi/scsi_pm.c
drivers/scsi/scsi_tgt_if.c

index b412e0300dd4756cc6549974ec9368c9c50eb794..dee1a094c2c2a6af5a80871785afea81a60e5833 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include <linux/debugfs.h>
+#include <linux/export.h>
 
 #include "bfad_drv.h"
 #include "bfad_im.h"
index 01312381639f74415d1ebd2ca10c1752308fb922..e5db649e8eb757dbe79241645c024734d76dd21a 100644 (file)
@@ -19,6 +19,8 @@
  *  bfad_im.c Linux driver IM module.
  */
 
+#include <linux/export.h>
+
 #include "bfad_drv.h"
 #include "bfad_im.h"
 #include "bfa_fcs.h"
index b9cb8140b398220c384820029dc5cac3efdae393..7269e928824a07f93efb1e570eb136f6cbedfbeb 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/timer.h>
 #include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/export.h>
 #include <asm/unaligned.h>
 
 #include <scsi/fc/fc_gs.h>
index 9b25969e2ad02f86e712582ddf3b52c6b25188d1..fb9161dc4ca67411f07413018562286fcaeff017 100644 (file)
@@ -21,6 +21,7 @@
  * Provide interface to send ELS/CT FC frames
  */
 
+#include <linux/export.h>
 #include <asm/unaligned.h>
 #include <scsi/fc/fc_gs.h>
 #include <scsi/fc/fc_ns.h>
index 7c055fdca45de91ae3c2682ab217e34ee32f4f54..859693bd77b54259373fe2059ee3d481c0699e66 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/timer.h>
 #include <linux/slab.h>
 #include <linux/err.h>
+#include <linux/export.h>
 
 #include <scsi/fc/fc_fc2.h>
 
index f33b897e4784153da1e829cc2733306aab485528..9fbf78ed821b3ceeb36a941e5fddd3142d0300cf 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <scsi/libfc.h>
+#include <linux/export.h>
 
 /**
  * fc_vport_create() - Create a new NPIV vport instance
index 760db7619446f6bc86fedfcd1a7511c62c262057..b9e434844a69bb93fe12e153896973a1c8df2968 100644 (file)
@@ -51,6 +51,7 @@
 #include <linux/rcupdate.h>
 #include <linux/timer.h>
 #include <linux/workqueue.h>
+#include <linux/export.h>
 #include <asm/unaligned.h>
 
 #include <scsi/libfc.h>
index e1aa17840c5bf2e0a2d41784114c3f41cdd5aeb1..bb8f49269a68dfc307ca178e1effd95fd72ef3ee 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/scatterlist.h>
 #include <linux/blkdev.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 #include "sas_internal.h"
 
index b2c4a773165699e8a46544c1aeb522a1d8e318e1..b6e233d9a0a15f98bb7a8760fbe5ab0102b6ebaf 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <linux/kthread.h>
 #include <linux/firmware.h>
+#include <linux/export.h>
 #include <linux/ctype.h>
 
 #include "sas_internal.h"
index b13a3346894cb1348dcf03ce183edee6ef8464fc..a78e5bd3e514592a7986b91d5b1efd224e073194 100644 (file)
@@ -1,4 +1,5 @@
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <scsi/sas.h>
 #include <scsi/libsas.h>
 
index 5b8790b3cf4bba7a2791da9acdd68ed8f7c7cbaa..2e1e54e5c3ae89514ef1de659fe8963237ee41c9 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/pci.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
+#include <linux/export.h>
 #include <linux/delay.h>
 #include <asm/unaligned.h>
 
index fc3f168decb4606cf479e5b6878236f9cfb5ca24..cdd3436f2ecbaec568b69b36a7710f2eeb35cda7 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/blkdev.h>
 #include <linux/completion.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/mempool.h>
 #include <linux/slab.h>
 #include <linux/init.h>
index dcd128583b89795c6294d79c2b61df6fdc0f3dd5..2ac3f3975f785f86843bcade103446ddc28d722a 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <linux/blkdev.h>
 #include <linux/device.h>
+#include <linux/export.h>
 #include <linux/kernel.h>
 
 #include <scsi/scsi.h>
index 26a8a45584ef844f02c9b31528918cc129e7c775..44f76e8b58af62a13467e9dc4e080c9e21584e68 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/security.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <net/sock.h>
 #include <net/netlink.h>
 
index d82a023a90154db7fe9e5a19b70eb738a009988f..d329f8b12e2b11503bd52b391bc198798aa1f297 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <linux/pm_runtime.h>
+#include <linux/export.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_device.h>
index 0172de19700874280447d563520feea7d901125d..6209110f295d22598b87053c875a01a709cc1bcd 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/miscdevice.h>
 #include <linux/gfp.h>
 #include <linux/file.h>
+#include <linux/export.h>
 #include <net/tcp.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_cmnd.h>