From: James Bottomley Date: Fri, 9 Sep 2005 23:38:27 +0000 (-0500) Subject: [SCSI] SAS transport class: fixup prototype of sas_host_setup X-Git-Tag: v2.6.14-rc1~5^2~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37be6eeb4990c05fc7dd683ceaf1501d46ebe9a4;p=linux-2.6 [SCSI] SAS transport class: fixup prototype of sas_host_setup Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index ac4a53a019..ff724bbe66 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) * SAS host attributes */ -static int sas_host_setup(struct device *dev) +static int sas_host_setup(struct transport_container *tc, struct device *dev, + struct class_device *cdev) { struct Scsi_Host *shost = dev_to_shost(dev); struct sas_host_attrs *sas_host = to_sas_host_attrs(shost);