mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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:
@ -18,7 +18,7 @@ static int ahci_pci_bind(struct udevice *dev)
|
|||||||
|
|
||||||
static int ahci_pci_probe(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[] = {
|
static const struct udevice_id ahci_pci_ids[] = {
|
||||||
|
Reference in New Issue
Block a user