Skip to content

Commit

Permalink
PCI: iproc: Hide CONFIG_PCIE_IPROC
Browse files Browse the repository at this point in the history
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: 4785ffb ("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>
  • Loading branch information
Arnd Bergmann authored and Bjorn Helgaas committed Nov 24, 2015
1 parent 1ec2183 commit c1b98e4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/pci/host/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,11 @@ config PCI_VERSATILE
depends on ARCH_VERSATILE

config PCIE_IPROC
tristate "Broadcom iProc PCIe controller"
depends on OF && (ARM || ARM64)
default n
tristate
help
This enables the iProc PCIe core controller support for Broadcom's
iProc family of SoCs. An appropriate bus interface driver also needs
to be enabled
iProc family of SoCs. An appropriate bus interface driver needs
to be enabled to select this.

config PCIE_IPROC_PLATFORM
tristate "Broadcom iProc PCIe platform bus driver"
Expand Down

0 comments on commit c1b98e4

Please sign in to comment.