Skip to content

Commit

Permalink
gpio: pl061 depends on ARM
Browse files Browse the repository at this point in the history
Commit dece904 (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>
  • Loading branch information
Alessandro Rubini authored and Linus Walleij committed Dec 1, 2012
1 parent 835c192 commit 8618b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8618b3b

Please sign in to comment.