[U-Boot] [PATCH] ahci-pci: Update call to ahci_probe_scsi_pci()

Bin Meng bmeng.cn at gmail.com
Thu Aug 3 02:07:17 UTC 2017


ahci_probe_scsi() now takes a 'base' argument, and there is an API
that prepares base address for us: ahci_probe_scsi_pci().

Reported-by: Tom Rini <trini at konsulko.com>
Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 drivers/ata/ahci-pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/ahci-pci.c b/drivers/ata/ahci-pci.c
index f46fad8..5a45edc 100644
--- a/drivers/ata/ahci-pci.c
+++ b/drivers/ata/ahci-pci.c
@@ -18,7 +18,7 @@ static int ahci_pci_bind(struct udevice *dev)
 
 static int ahci_pci_probe(struct udevice *dev)
 {
-	return ahci_probe_scsi(dev);
+	return ahci_probe_scsi_pci(dev);
 }
 
 static const struct udevice_id ahci_pci_ids[] = {
-- 
2.9.2



More information about the U-Boot mailing list