浏览代码

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>
Bin Meng 7 年之前
父节点
当前提交
7b9c88bfca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/ata/ahci-pci.c

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