Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / drivers / ata / libata-scsi.c
index 508a60bfe5c12655353eb2eed6c15690bdb293e5..1ee00c8b5b0495674c30237f2be672dee81ee928 100644 (file)
@@ -3838,6 +3838,19 @@ void ata_sas_port_stop(struct ata_port *ap)
 }
 EXPORT_SYMBOL_GPL(ata_sas_port_stop);
 
+int ata_sas_async_port_init(struct ata_port *ap)
+{
+       int rc = ap->ops->port_start(ap);
+
+       if (!rc) {
+               ap->print_id = ata_print_id++;
+               __ata_port_probe(ap);
+       }
+
+       return rc;
+}
+EXPORT_SYMBOL_GPL(ata_sas_async_port_init);
+
 /**
  *     ata_sas_port_init - Initialize a SATA device
  *     @ap: SATA port to initialize