From: Heinrich Schuchardt Date: Sun, 26 Mar 2023 16:58:25 +0000 (+0200) Subject: ata: fix requirements for CONFIG_AHCI_PCI X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=480c1d6725b2444f14b36bff1416514c6f09ea8f;p=u-boot.git ata: fix requirements for CONFIG_AHCI_PCI Building with CONFIG_AHCI_PCI=y and CONFIG_SCSI_AHCI=n leads to drivers/ata/ahci-pci.o: in function `ahci_pci_probe': drivers/ata/ahci-pci.c:21: undefined reference to `ahci_probe_scsi_pci' Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 3fe53d6d4f..2ab502c260 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -37,6 +37,7 @@ config AHCI_PCI bool "Support for PCI-based AHCI controller" depends on PCI depends on DM_SCSI + depends on SCSI_AHCI help Enables support for the PCI-based AHCI controller.