浏览代码

[SCSI] SAS transport class: fixup prototype of sas_host_setup

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley 20 年之前
父节点
当前提交
37be6eeb49
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);