OSDN Git Service

PCI: Remove PCIe Kconfig dependencies on PCI
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 6 Nov 2019 22:09:40 +0000 (16:09 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Nov 2019 13:52:33 +0000 (07:52 -0600)
drivers/pci/pcie/Kconfig is only sourced by drivers/pci/Kconfig, and only
when PCI is defined, so there's no need to depend on PCI again.  Remove the
unnecessary dependencies.

Link: https://lore.kernel.org/r/20191106222420.10216-5-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
drivers/pci/pcie/Kconfig

index b196ad8..207dac2 100644 (file)
@@ -4,7 +4,6 @@
 #
 config PCIEPORTBUS
        bool "PCI Express Port Bus support"
-       depends on PCI
        help
          This enables PCI Express Port Bus support. Users can then enable
          support for Native Hot-Plug, Advanced Error Reporting, Power
@@ -63,7 +62,6 @@ config PCIE_ECRC
 #
 config PCIEASPM
        bool "PCI Express ASPM control" if EXPERT
-       depends on PCI
        default y
        help
          This enables OS control over PCI Express ASPM (Active State