diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-24 16:28:48 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-11-24 16:28:48 -0500 |
commit | c1b98e41b356a1807d7083d958790da2027c0d9d (patch) | |
tree | 29edd5671c190bec5e22a5e535b4098a10063c25 | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) |
PCI: iproc: Hide CONFIG_PCIE_IPROC
PCIE_IPROC_BCMA does not require CONFIG_OF in Kconfig, but
CONFIG_PCIE_IPROC does, so we can get a warning when building for an ARM
platform without DT support:
warning: (PCIE_IPROC_PLATFORM && PCIE_IPROC_BCMA) selects PCIE_IPROC which has unmet direct dependencies (PCI && OF && (ARM || ARM64))
It turns out that CONFIG_PCIE_IPROC never needs to be enabled by a user
anyway, we can simply rely on it being selected implictly through either
PCIE_IPROC_PLATFORM or PCIE_IPROC_BCMA.
Fixes: 4785ffbdc9b5 ("PCI: iproc: Add BCMA PCIe driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | drivers/pci/host/Kconfig | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index f131ba947dc6..767605a5c659 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig | |||
@@ -118,13 +118,11 @@ config PCI_VERSATILE | |||
118 | depends on ARCH_VERSATILE | 118 | depends on ARCH_VERSATILE |
119 | 119 | ||
120 | config PCIE_IPROC | 120 | config PCIE_IPROC |
121 | tristate "Broadcom iProc PCIe controller" | 121 | tristate |
122 | depends on OF && (ARM || ARM64) | ||
123 | default n | ||
124 | help | 122 | help |
125 | This enables the iProc PCIe core controller support for Broadcom's | 123 | This enables the iProc PCIe core controller support for Broadcom's |
126 | iProc family of SoCs. An appropriate bus interface driver also needs | 124 | iProc family of SoCs. An appropriate bus interface driver needs |
127 | to be enabled | 125 | to be enabled to select this. |
128 | 126 | ||
129 | config PCIE_IPROC_PLATFORM | 127 | config PCIE_IPROC_PLATFORM |
130 | tristate "Broadcom iProc PCIe platform bus driver" | 128 | tristate "Broadcom iProc PCIe platform bus driver" |