Merge branch 'scsi-scan'
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / libata-core.c
index 82ec7f30bf3f0b146e5e9c01f13a4c3f29af7193..f0894bfa908b3953401e4ffb8456f33211d95dc1 100644 (file)
@@ -4203,7 +4203,7 @@ int ata_device_add(struct ata_probe_ent *ent)
        for (i = 0; i < count; i++) {
                struct ata_port *ap = host_set->ports[i];
 
-               scsi_scan_host(ap->host);
+               ata_scsi_scan_host(ap);
        }
 
        dev_set_drvdata(dev, host_set);