Explorar o código

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>
Alessandro Rubini %!s(int64=13) %!d(string=hai) anos
pai
achega
8618b3b47c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/gpio/Kconfig

+ 1 - 1
drivers/gpio/Kconfig

@@ -185,7 +185,7 @@ config GPIO_MXS
 
 
 config GPIO_PL061
 config GPIO_PL061
 	bool "PrimeCell PL061 GPIO support"
 	bool "PrimeCell PL061 GPIO support"
-	depends on ARM_AMBA
+	depends on ARM && ARM_AMBA
 	select GENERIC_IRQ_CHIP
 	select GENERIC_IRQ_CHIP
 	help
 	help
 	  Say yes here to support the PrimeCell PL061 GPIO device
 	  Say yes here to support the PrimeCell PL061 GPIO device