[PATCH] PCI: mvebu: Restrict build to 32-bit ARM

From: Thierry Reding
Date: Thu Feb 18 2016 - 08:32:37 EST


From: Thierry Reding <treding@xxxxxxxxxx>

This driver uses PCI glue that is only available on 32-bit ARM. This
used to work fine as long as ARCH_MVEBU and ARCH_DOVE were exclusively
32-bit, but that's changed now, with ARCH_MVEBU also being available
on 64-bit ARM.

Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
drivers/pci/host/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index 75a605426538..d1cdd9c992ac 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -14,6 +14,7 @@ config PCI_DRA7XX
config PCI_MVEBU
bool "Marvell EBU PCIe controller"
depends on ARCH_MVEBU || ARCH_DOVE
+ depends on ARM
depends on OF

config PCIE_DW
--
2.7.1