From 8618b3b47c4590baf4ef3f241616914f4bb2a8a6 Mon Sep 17 00:00:00 2001 From: Alessandro Rubini Date: Fri, 23 Nov 2012 16:08:24 +0100 Subject: gpio: pl061 depends on ARM Commit dece904d (gpio: pl061: use chained_irq_* functions in irq handler) introduced chained_irq_enter/exit, which is only available for arch/arm and the driver won't compile elsewhere. The dependency is thus made explicit, because AMBA is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. Signed-off-by: Alessandro Rubini Acked-by: Giancarlo Asnaghi Reviewed-by: Viresh Kumar Signed-off-by: Linus Walleij diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 4f592c6..46e96f3 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -185,7 +185,7 @@ config GPIO_MXS config GPIO_PL061 bool "PrimeCell PL061 GPIO support" - depends on ARM_AMBA + depends on ARM && ARM_AMBA select GENERIC_IRQ_CHIP help Say yes here to support the PrimeCell PL061 GPIO device -- cgit v0.10.2