PCI: dwc: dra7xx: Depend on appropriate SoC or compile test
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 15 May 2017 12:26:17 +0000 (13:26 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:39:31 +0000 (18:39 -0500)
The PCI controller attached to a SoC isn't much use if the core SoC isn't
enabled, unless of course it's compile testing, so add appropriate
dependency.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/dwc/Kconfig

index b7e15526d676504f61f4baa160e431171f19b0fd..d34b6dfbb351d500c0894aa1ad6e75432a45e9e8 100644 (file)
@@ -16,6 +16,7 @@ config PCIE_DW_EP
 
 config PCI_DRA7XX
        bool "TI DRA7xx PCIe controller"
+       depends on SOC_DRA7XX || COMPILE_TEST
        depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
        depends on OF && HAS_IOMEM && TI_PIPE3
        help