From: Tom Rini Date: Wed, 2 Aug 2017 20:37:21 -0400 Subject: [U-Boot] [PATCH] ahci-pci: Update call to ahci_scsi_probe() Message-ID: <1501720642-16949-1-git-send-email-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The function now takes a 'base' argument, and we can provide that by having dev_read_addr() get it from the struct uclass dev that we have been given. Cc: Bin Meng Signed-off-by: Tom Rini --- 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 f46fad899e5a..beec14f46d66 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(dev, dev_read_addr(dev)); } static const struct udevice_id ahci_pci_ids[] = { -- 1.9.1