aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_ext.h
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2011-02-22 13:54:46 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-25 12:02:17 -0500
commit1947c72a122a8c367fdfc650c39a98ba76cc573a (patch)
treed01a396ba55a8b2eaad60bc1df86ed44d1d63378 /drivers/s390/scsi/zfcp_ext.h
parent2443c8b23aea83d529868030e28f45a6fa6553b2 (diff)
[SCSI] zfcp: Move SCSI host and transport templates out of struct zfcp_data
The SCSI host and transport templates are the only members left in the global zfcp_data struct. Move them out of zfcp_data and remove the now unused zfcp_data struct. Also update the names of the register and unregister functions to use the zfcp_scsi prefix. Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r--drivers/s390/scsi/zfcp_ext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h
index 58c7e57ed615..410d9ddc175a 100644
--- a/drivers/s390/scsi/zfcp_ext.h
+++ b/drivers/s390/scsi/zfcp_ext.h
@@ -141,9 +141,9 @@ extern struct zfcp_fsf_req *zfcp_fsf_get_req(struct zfcp_qdio *,
141 struct qdio_buffer *); 141 struct qdio_buffer *);
142 142
143/* zfcp_scsi.c */ 143/* zfcp_scsi.c */
144extern struct zfcp_data zfcp_data; 144extern struct scsi_transport_template *zfcp_scsi_transport_template;
145extern int zfcp_adapter_scsi_register(struct zfcp_adapter *); 145extern int zfcp_scsi_adapter_register(struct zfcp_adapter *);
146extern void zfcp_adapter_scsi_unregister(struct zfcp_adapter *); 146extern void zfcp_scsi_adapter_unregister(struct zfcp_adapter *);
147extern struct fc_function_template zfcp_transport_functions; 147extern struct fc_function_template zfcp_transport_functions;
148extern void zfcp_scsi_rport_work(struct work_struct *); 148extern void zfcp_scsi_rport_work(struct work_struct *);
149extern void zfcp_scsi_schedule_rport_register(struct zfcp_port *); 149extern void zfcp_scsi_schedule_rport_register(struct zfcp_port *);