]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: iproc: Hide CONFIG_PCIE_IPROC
authorArnd Bergmann <arnd@arndb.de>
Tue, 24 Nov 2015 21:28:48 +0000 (15:28 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Nov 2015 21:28:48 +0000 (15:28 -0600)
commitc1b98e41b356a1807d7083d958790da2027c0d9d
tree29edd5671c190bec5e22a5e535b4098a10063c25
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4
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>
drivers/pci/host/Kconfig