PCI: iproc: hide CONFIG_PCIE_IPROC
PATCH 1/1 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.
drivers/pci/host/Kconfig +3 -5
@@ -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"
Quoted 4 lines · Arnd Bergmann
PCIE_IPROC_BCMAdoes not requireCONFIG_OFinKconfig, butCONFIG_PCIE_IPROCdoes, so we can get a warning when building for an ARM platform without DT support:
Quoted 9 lines
warning: (
PCIE_IPROC_PLATFORM&&PCIE_IPROC_BCMA) selectsPCIE_IPROCwhich has unmet direct dependencies (PCI && OF && (ARM || ARM64))It turns out that
CONFIG_PCIE_IPROCnever needs to be enabled by a user anyway, we can simply rely on it being selected implictly through eitherPCIE_IPROC_PLATFORMorPCIE_IPROC_BCMA.Signed-off-by Arnd Bergmann <[email protected]>Fixes 4785ffbdc9b5 ("PCI: iproc: Add BCMA PCIe driver")
Thanks for spotting and fixing this.
hauke
Quoted 4 lines · Arnd Bergmann
PCIE_IPROC_BCMAdoes not requireCONFIG_OFinKconfig, butCONFIG_PCIE_IPROCdoes, so we can get a warning when building for an ARM platform without DT support:
Quoted 8 lines
warning: (
PCIE_IPROC_PLATFORM&&PCIE_IPROC_BCMA) selectsPCIE_IPROCwhich has unmet direct dependencies (PCI && OF && (ARM || ARM64))It turns out that
CONFIG_PCIE_IPROCnever needs to be enabled by a user anyway, we can simply rely on it being selected implictly through eitherPCIE_IPROC_PLATFORMorPCIE_IPROC_BCMA.Signed-off-by Arnd Bergmann <[email protected]>Fixes 4785ffbdc9b5 ("PCI: iproc: Add BCMA PCIe driver")
Applied with Hauke's ack to pci/host-iproc for v4.5, thanks!
Quoted 27 lines
drivers/pci/host/Kconfig +3
-6@@ -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" --To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/