PCI: mvebu: make Marvell PCIe driver depend on OF
PATCH 1/1 PCI: mvebu: make Marvell PCIe driver depend on OF
The Marvell PCIe host controller driver is heavily tied to Device Tree APIs, and can only be used on platforms where the Device Tree is used. Therefore, it should "depends on OF" to avoid build failures on !OF configurations.
---
Bjorn, you can take this one through your tree. Either for 3.11 or 3.12, at your preference.
--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/pci/host/Kconfig +1 -0
@@ -4,6 +4,7 @@ menu "PCI host controller drivers" config PCI_MVEBU bool "Marvell EBU PCIe controller" depends on ARCH_MVEBU || ARCH_KIRKWOOD + depends on OF config PCIE_DW bool
Signature · 1 line
1.8.1.2
PATCH 1/1 PCI: mvebu: make Marvell PCIe driver depend on OF
Quoted 7 lines · Thomas Petazzoni
The Marvell PCIe host controller driver is heavily tied to Device Tree APIs, and can only be used on platforms where the Device Tree is used. Therefore, it should "depends on OF" to avoid build failures on !OF configurations.
Reported-by Ezequiel Garcia <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>
Quoted 22 lines
---
Bjorn, you can take this one through your tree. Either for 3.11 or 3.12, at your preference.--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/Kconfig +1
-0@@ -4,6 +4,7 @@ menu "PCI host controller drivers" config PCI_MVEBU bool "Marvell EBU PCIe controller" depends on ARCH_MVEBU || ARCH_KIRKWOOD + depends on OF config PCIE_DW boolSignature · 1 line
1.8.1.2
Signature · 3 lines
Ezequiel Garc?a, Free Electrons Embedded Linux, Kernel and Android Engineering http://free-electrons.com
PATCH 1/1 PCI: mvebu: make Marvell PCIe driver depend on OF
In reply to Thomas PetazzoniQuoted 10 lines · Thomas Petazzoni
The Marvell PCIe host controller driver is heavily tied to Device Tree APIs, and can only be used on platforms where the Device Tree is used. Therefore, it should "depends on OF" to avoid build failures on !OF configurations.
Reported-by Ezequiel Garcia <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>---
Bjorn, you can take this one through your tree. Either for 3.11 or 3.12, at your preference.
Applied to pci/misc for v3.12, thanks!
Quoted 19 lines
--- drivers/pci/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/pci/host/Kconfig +1
-0@@ -4,6 +4,7 @@ menu "PCI host controller drivers" config PCI_MVEBU bool "Marvell EBU PCIe controller" depends on ARCH_MVEBU || ARCH_KIRKWOOD + depends on OF config PCIE_DW boolSignature · 1 line
1.8.1.2