ahci-pci: Update call to ahci_probe_scsi_pci()

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>
This commit is contained in:
Bin Meng 2017-08-02 19:07:17 -07:00 committed by Tom Rini
parent a89302cc79
commit 7b9c88bfca

View 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[] = {