aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2012-11-23 10:08:24 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-12-01 10:10:28 -0500
commit8618b3b47c4590baf4ef3f241616914f4bb2a8a6 (patch)
tree13627f21a210f4a12105935457594cf1a10763d0
parent835c192f3612639702d716024c1a5b66445dd860 (diff)
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>
-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
185 185
186config GPIO_PL061 186config GPIO_PL061
187 bool "PrimeCell PL061 GPIO support" 187 bool "PrimeCell PL061 GPIO support"
188 depends on ARM_AMBA 188 depends on ARM && ARM_AMBA
189 select GENERIC_IRQ_CHIP 189 select GENERIC_IRQ_CHIP
190 help 190 help
191 Say yes here to support the PrimeCell PL061 GPIO device 191 Say yes here to support the PrimeCell PL061 GPIO device