diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2011-02-22 13:54:46 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-25 12:02:17 -0500 |
commit | 1947c72a122a8c367fdfc650c39a98ba76cc573a (patch) | |
tree | d01a396ba55a8b2eaad60bc1df86ed44d1d63378 /drivers/s390/scsi/zfcp_def.h | |
parent | 2443c8b23aea83d529868030e28f45a6fa6553b2 (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_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 6a764337f06e..1566208997b6 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -313,10 +313,4 @@ struct zfcp_fsf_req { | |||
313 | void (*handler)(struct zfcp_fsf_req *); | 313 | void (*handler)(struct zfcp_fsf_req *); |
314 | }; | 314 | }; |
315 | 315 | ||
316 | /* driver data */ | ||
317 | struct zfcp_data { | ||
318 | struct scsi_host_template scsi_host_template; | ||
319 | struct scsi_transport_template *scsi_transport_template; | ||
320 | }; | ||
321 | |||
322 | #endif /* ZFCP_DEF_H */ | 316 | #endif /* ZFCP_DEF_H */ |