From 20aa320a4f546b90432cdaa88e7c3cc3d970b3d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Sun, 15 Aug 2021 16:27:36 +0200 Subject: [PATCH] ata: ahci-pci: Fix dependency on DM_PCI MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit File drivers/ata/ahci-pci.c calls function ahci_probe_scsi_pci() which is compiled only when DM_PCI is enabled. So add missing dependency into Kconfig. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 6f0b772..0c1490a 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -36,6 +36,7 @@ menu "SATA/SCSI device support" config AHCI_PCI bool "Support for PCI-based AHCI controller" + depends on DM_PCI depends on DM_SCSI help Enables support for the PCI-based AHCI controller. -- 2.7.4