[SCSI] libfc: Export FC headers
authorRobert Love <robert.w.love@intel.com>
Tue, 3 Nov 2009 19:47:23 +0000 (11:47 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:05 +0000 (12:01 -0600)
Export fc_els.h, fc_fs.h, fc_gs.h and fc_ns.h so that they
may be used by applications.

This will be needed for FC Passthrough applications like fcping,
but could be used by other applications.

Fix to include <linux/types.h> to exported files provided by
Chris Leech <christopher.leech@intel.com>.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
include/scsi/Kbuild
include/scsi/fc/Kbuild [new file with mode: 0644]
include/scsi/fc/fc_els.h
include/scsi/fc/fc_fs.h
include/scsi/fc/fc_gs.h
include/scsi/fc/fc_ns.h

index 33b2750e9283973fc48e4aafb5dd729619e4a623..b3a0ee6b2f1c8bcefec4a219454b824538cc32cf 100644 (file)
@@ -2,3 +2,4 @@ header-y += scsi.h
 header-y += scsi_netlink.h
 header-y += scsi_netlink_fc.h
 header-y += scsi_bsg_fc.h
+header-y += fc/
diff --git a/include/scsi/fc/Kbuild b/include/scsi/fc/Kbuild
new file mode 100644 (file)
index 0000000..5660381
--- /dev/null
@@ -0,0 +1,4 @@
+header-y += fc_els.h
+header-y += fc_fs.h
+header-y += fc_gs.h
+header-y += fc_ns.h
index b0872afe2d30849e8dbcf5c013210466e830d782..f94328132a2605c8022ed01c393aabcfb8ef3415 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef _FC_ELS_H_
 #define        _FC_ELS_H_
 
+#include <linux/types.h>
+
 /*
  * Fibre Channel Switch - Enhanced Link Services definitions.
  * From T11 FC-LS Rev 1.2 June 7, 2005.
index ac4cd38c860e3f3de2a7f47a1afb6b78314caf78..50f28b143451a5ea376777905006358d8a8d5595 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef _FC_FS_H_
 #define _FC_FS_H_
 
+#include <linux/types.h>
+
 /*
  * Fibre Channel Framing and Signalling definitions.
  * From T11 FC-FS-2 Rev 0.90 - 9 August 2005.
index 324dd0e3c6225df466c3180e3a13df04f5d30f38..a37346d47eb1ff541880d7ed2f987e957a39e382 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef _FC_GS_H_
 #define        _FC_GS_H_
 
+#include <linux/types.h>
+
 /*
  * Fibre Channel Services - Common Transport.
  * From T11.org FC-GS-2 Rev 5.3 November 1998.
index 3fd59a2cb81f74ac20825a483fa5c6c804e0c96f..f4d354eb26b9bb4fb9da9d09fb9169e86a4ca0cd 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef _FC_NS_H_
 #define        _FC_NS_H_
 
+#include <linux/types.h>
+
 /*
  * Fibre Channel Services - Name Service (dNS)
  * From T11.org FC-GS-2 Rev 5.3 November 1998.