Skip to contentSkip to conversation

PCI: mvebu: make Marvell PCIe driver depend on OF

PATCH New Thomas Petazzoni 3 participants 3 messages Aug 9, 2013 PCI

lore
Share & tools
lore
#0 lore raw

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
index 1184ff6..e5ba4eb 100644
@@ -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
#1 lore raw

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.

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
index 1184ff6..e5ba4eb 100644
@@ -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
Signature · 3 lines
Ezequiel Garc?a, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
maintainer Applied
#2 lore raw

PATCH 1/1 PCI: mvebu: make Marvell PCIe driver depend on OF

In reply to Thomas Petazzoni
Quoted 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.

---
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
index 1184ff6..e5ba4eb 100644
@@ -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