PCI: mvebu: Make Marvell PCIe driver depend on OF
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Aug 2013 10:35:50 +0000 (12:35 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Aug 2013 18:18:20 +0000 (12:18 -0600)
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 <ezequiel.garcia@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/Kconfig

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