gpio: pl061 depends on ARM
authorAlessandro Rubini <rubini@gnudd.com>
Fri, 23 Nov 2012 15:08:24 +0000 (16:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 1 Dec 2012 15:10:28 +0000 (16:10 +0100)
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>
drivers/gpio/Kconfig

index 4f592c61599083b9faa107e9efb5feaae3578930..46e96f3fc3f888c79c9a694c7f70b849137adcbd 100644 (file)
@@ -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