summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-08-15 16:27:36 +0200
committerTom Rini <trini@konsulko.com>2021-09-01 19:25:37 -0400
commit20aa320a4f546b90432cdaa88e7c3cc3d970b3d7 (patch)
tree87a12279b5346cf988c7def3ad5fb0d88791049a /drivers/ata
parent223c44904d86a14d6c17e73696186c402e9ba958 (diff)
ata: ahci-pci: Fix dependency on DM_PCI
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 <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 6f0b772383..0c1490a9f9 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.