diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_scsi.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_scsi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c index 1bb55086db9f..4857cccb1d5b 100644 --- a/drivers/s390/scsi/zfcp_scsi.c +++ b/drivers/s390/scsi/zfcp_scsi.c | |||
@@ -39,11 +39,10 @@ static struct zfcp_unit *zfcp_unit_lookup(struct zfcp_adapter *, int, | |||
39 | 39 | ||
40 | static struct device_attribute *zfcp_sysfs_sdev_attrs[]; | 40 | static struct device_attribute *zfcp_sysfs_sdev_attrs[]; |
41 | 41 | ||
42 | struct scsi_transport_template *zfcp_transport_template; | ||
43 | |||
44 | struct zfcp_data zfcp_data = { | 42 | struct zfcp_data zfcp_data = { |
45 | .scsi_host_template = { | 43 | .scsi_host_template = { |
46 | .name = ZFCP_NAME, | 44 | .name = ZFCP_NAME, |
45 | .module = THIS_MODULE, | ||
47 | .proc_name = "zfcp", | 46 | .proc_name = "zfcp", |
48 | .slave_alloc = zfcp_scsi_slave_alloc, | 47 | .slave_alloc = zfcp_scsi_slave_alloc, |
49 | .slave_configure = zfcp_scsi_slave_configure, | 48 | .slave_configure = zfcp_scsi_slave_configure, |
@@ -607,7 +606,7 @@ zfcp_adapter_scsi_register(struct zfcp_adapter *adapter) | |||
607 | adapter->scsi_host->max_channel = 0; | 606 | adapter->scsi_host->max_channel = 0; |
608 | adapter->scsi_host->unique_id = unique_id++; /* FIXME */ | 607 | adapter->scsi_host->unique_id = unique_id++; /* FIXME */ |
609 | adapter->scsi_host->max_cmd_len = ZFCP_MAX_SCSI_CMND_LENGTH; | 608 | adapter->scsi_host->max_cmd_len = ZFCP_MAX_SCSI_CMND_LENGTH; |
610 | adapter->scsi_host->transportt = zfcp_transport_template; | 609 | adapter->scsi_host->transportt = zfcp_data.scsi_transport_template; |
611 | 610 | ||
612 | /* | 611 | /* |
613 | * save a pointer to our own adapter data structure within | 612 | * save a pointer to our own adapter data structure within |