summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_libfc.h
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-11-03 11:46:03 -0800
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 12:00:55 -0600
commit93e6d5ab9969a9200752658677eafd96772302f0 (patch)
tree80858e13b9ddeee57e1743438bbaedbf2e7740f0 /drivers/scsi/libfc/fc_libfc.h
parent8866a5d9075b7129194576f5f810e85a693c40ba (diff)
downloadlinux-93e6d5ab9969a9200752658677eafd96772302f0.tar.gz
linux-93e6d5ab9969a9200752658677eafd96772302f0.tar.bz2
linux-93e6d5ab9969a9200752658677eafd96772302f0.zip
[SCSI] libfc: Move libfc_init and libfc_exit to fc_libfc.c
These routines are for the libfc kernel module and should be in the libfc .c file. Moving the libfc __init routine into fc_libfc.c caused the creation of the fc_setup_fcp() and fc_destroy_fcp() routines so that scsi_pkt_cachep was not exposed outside of fc_fcp.c. Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libfc/fc_libfc.h')
-rw-r--r--drivers/scsi/libfc/fc_libfc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libfc/fc_libfc.h b/drivers/scsi/libfc/fc_libfc.h
index 388fae4364af..0530149ac174 100644
--- a/drivers/scsi/libfc/fc_libfc.h
+++ b/drivers/scsi/libfc/fc_libfc.h
@@ -93,6 +93,8 @@ int fc_setup_exch_mgr(void);
void fc_destroy_exch_mgr(void);
int fc_setup_rport(void);
void fc_destroy_rport(void);
+int fc_setup_fcp(void);
+void fc_destroy_fcp(void);
/*
* Internal libfc functions