summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci-pci.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-08-03 02:07:17 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-03 18:48:48 (GMT)
commit7b9c88bfca6b445e26767494a30083d3b75b5b67 (patch)
tree5fba2a3916b5721c9b2c42759249af3a6dd2f2ed /drivers/ata/ahci-pci.c
parenta89302cc7908de36e949b02013ac05ce5ef8b354 (diff)
downloadu-boot-7b9c88bfca6b445e26767494a30083d3b75b5b67.tar.xz
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>
Diffstat (limited to 'drivers/ata/ahci-pci.c')
-rw-r--r--drivers/ata/ahci-pci.c2
1 files changed, 1 insertions, 1 deletions
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[] = {