Skip to content

Commit 07aac32

Browse files
Robert LoveJames Bottomley
authored andcommitted
[SCSI] libfc: Export FC headers
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>
1 parent dc8596d commit 07aac32

6 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎include/scsi/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ header-y += scsi.h
22
header-y += scsi_netlink.h
33
header-y += scsi_netlink_fc.h
44
header-y += scsi_bsg_fc.h
5+
header-y += fc/

‎include/scsi/fc/Kbuild‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
header-y += fc_els.h
2+
header-y += fc_fs.h
3+
header-y += fc_gs.h
4+
header-y += fc_ns.h

‎include/scsi/fc/fc_els.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#ifndef _FC_ELS_H_
2121
#define _FC_ELS_H_
2222

23+
#include <linux/types.h>
24+
2325
/*
2426
* Fibre Channel Switch - Enhanced Link Services definitions.
2527
* From T11 FC-LS Rev 1.2 June 7, 2005.

‎include/scsi/fc/fc_fs.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#ifndef _FC_FS_H_
2121
#define _FC_FS_H_
2222

23+
#include <linux/types.h>
24+
2325
/*
2426
* Fibre Channel Framing and Signalling definitions.
2527
* From T11 FC-FS-2 Rev 0.90 - 9 August 2005.

‎include/scsi/fc/fc_gs.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#ifndef _FC_GS_H_
2121
#define _FC_GS_H_
2222

23+
#include <linux/types.h>
24+
2325
/*
2426
* Fibre Channel Services - Common Transport.
2527
* From T11.org FC-GS-2 Rev 5.3 November 1998.

‎include/scsi/fc/fc_ns.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#ifndef _FC_NS_H_
2121
#define _FC_NS_H_
2222

23+
#include <linux/types.h>
24+
2325
/*
2426
* Fibre Channel Services - Name Service (dNS)
2527
* From T11.org FC-GS-2 Rev 5.3 November 1998.

0 commit comments

Comments
 (0)