Since this is ACPI PCI slot detection driver for PCI, it doesn't make sense
to compile this without PCI support in place.

Signed-off-by: Sinan Kaya <[email protected]>
---
 drivers/acpi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index a0abcb3bd673..8b6ff80a69cd 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -369,7 +369,7 @@ config ACPI_DEBUG
 
 config ACPI_PCI_SLOT
        bool "PCI slot detection driver"
-       depends on SYSFS
+       depends on SYSFS && PCI
        help
          This driver creates entries in /sys/bus/pci/slots/ for all PCI
          slots in the system.  This can help correlate PCI bus addresses,
-- 
2.19.0

Reply via email to