ACPI: Make PCI slot detection driver depend on PCI
authorSinan Kaya <okaya@kernel.org>
Wed, 19 Dec 2018 22:46:59 +0000 (22:46 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Dec 2018 09:19:49 +0000 (10:19 +0100)
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 <okaya@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig

index a0abcb3..8b6ff80 100644 (file)
@@ -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,