Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37be6eeb authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] SAS transport class: fixup prototype of sas_host_setup

parent d327d082
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);