]> git.sur5r.net Git - u-boot/commitdiff
ahci-pci: Update call to ahci_probe_scsi_pci()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 3 Aug 2017 02:07:17 +0000 (19:07 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2017 18:48:48 +0000 (14:48 -0400)
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@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/ata/ahci-pci.c

index f46fad899e5a201236682cdb4ba6bf51bc727aa7..5a45edc4e41f6b5a5fb597437b4d39a51ea60e63 100644 (file)
@@ -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[] = {