]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
scsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 10 Jul 2011 16:55:15 +0000 (12:55 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 26 Aug 2011 15:52:03 +0000 (11:52 -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>
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_scsi_host.c
drivers/scsi/libsas/sas_task.c
drivers/scsi/scsi_pm.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 01ff082dc34cfaac127eb62ebc4ad2cd02ef3ff5..1c60fcc44ca035f5d21233b15184c28bdaca14b6 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 eeba76cdf7746c518c49f680d3d2ab9f3a9b863a..c0155e9740aeb7cb79469870a15f5bcf26cc5b28 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 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>