Browse Source

[SCSI] SAS transport class: fixup prototype of sas_host_setup

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley 19 năm trước cách đây
mục cha
commit
37be6eeb49
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      drivers/scsi/scsi_transport_sas.c

+ 2 - 1
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);