[U-Boot] [PATCH] 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 Signed-off-by: Bin Meng bmeng.cn@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[] = {

On 2 August 2017 at 20:07, Bin Meng bmeng.cn@gmail.com wrote:
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 Signed-off-by: Bin Meng bmeng.cn@gmail.com
drivers/ata/ahci-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org

On Wed, Aug 02, 2017 at 07:07:17PM -0700, Bin Meng wrote:
ahci_probe_scsi() now takes a 'base' argument, and there is an API that prepares base address for us: ahci_probe_scsi_pci().
Reviewed-by: Simon Glass sjg@chromium.org Reported-by: Tom Rini trini@konsulko.com Signed-off-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!
participants (3)
-
Bin Meng
-
Simon Glass
-
Tom Rini