Commit 5477a33b51b7282aca731213dc592b5f0c4e7c13

Authored by Thomas Petazzoni
Committed by Bjorn Helgaas
1 parent f48fbf9c7e

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.

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/pci/host/Kconfig
... ... @@ -4,6 +4,7 @@
4 4 config PCI_MVEBU
5 5 bool "Marvell EBU PCIe controller"
6 6 depends on ARCH_MVEBU || ARCH_KIRKWOOD
  7 + depends on OF
7 8  
8 9 config PCIE_DW
9 10 bool