diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2017-05-15 14:26:17 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-07-03 01:39:31 +0200 |
commit | 27fce382a809064c0e23154433ce56ec2124dafa (patch) | |
tree | 4dd0a0c318fbdff04fd62a4ec11736a2978c17bc /drivers | |
parent | arm64: PCI: Drop DT IRQ allocation from pcibios_alloc_irq() (diff) | |
download | linux-27fce382a809064c0e23154433ce56ec2124dafa.tar.xz linux-27fce382a809064c0e23154433ce56ec2124dafa.zip |
PCI: dwc: dra7xx: Depend on appropriate SoC or compile test
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/dwc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig index b7e15526d676..d34b6dfbb351 100644 --- a/drivers/pci/dwc/Kconfig +++ b/drivers/pci/dwc/Kconfig @@ -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 |