diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2005-09-09 19:38:27 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-09 19:43:56 -0400 |
commit | 37be6eeb4990c05fc7dd683ceaf1501d46ebe9a4 (patch) | |
tree | 982b638f116d0f7e4c8fcd9b993f42d0d8b1c062 /drivers | |
parent | d327d082325a0d4afb3748ef8b59e734e57cfe4c (diff) |
[SCSI] SAS transport class: fixup prototype of sas_host_setup
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_transport_sas.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index ac4a53a019c0..ff724bbe6611 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c | |||
@@ -156,7 +156,8 @@ sas_bitfield_name_search(linkspeed, sas_linkspeed_names) | |||
156 | * SAS host attributes | 156 | * SAS host attributes |
157 | */ | 157 | */ |
158 | 158 | ||
159 | static int sas_host_setup(struct device *dev) | 159 | static int sas_host_setup(struct transport_container *tc, struct device *dev, |
160 | struct class_device *cdev) | ||
160 | { | 161 | { |
161 | struct Scsi_Host *shost = dev_to_shost(dev); | 162 | struct Scsi_Host *shost = dev_to_shost(dev); |
162 | struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); | 163 | struct sas_host_attrs *sas_host = to_sas_host_attrs(shost); |