summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2012-11-23 16:08:24 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-12-01 16:10:28 +0100
commit8618b3b47c4590baf4ef3f241616914f4bb2a8a6 (patch)
tree13627f21a210f4a12105935457594cf1a10763d0 /drivers/gpio/Kconfig
parent835c192f3612639702d716024c1a5b66445dd860 (diff)
downloadlwn-8618b3b47c4590baf4ef3f241616914f4bb2a8a6.tar.gz
lwn-8618b3b47c4590baf4ef3f241616914f4bb2a8a6.zip
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 <rubini@gnudd.com> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 4f592c615990..46e96f3fc3f8 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