Skip to contentSkip to conversation

gpio: zx: depend on ARCH_ZX

PATCH In review Peter Robinson 2 participants 2 messages Nov 20, 2016 – Nov 22, 2016 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gpio: zx: depend on ARCH_ZX

Set GPIO_ZX to depend on ARCH_ZX as it's SOC specific.

---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

v1->v2:
- Add COMPILE_TEST

drivers/gpio/Kconfig +1 -0
index d011cb8..fa78a0b 100644
@@ -524,6 +524,7 @@ config GPIO_ZYNQ
 
 config GPIO_ZX
 	bool "ZTE ZX GPIO support"
+	depends on ARCH_ZX || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
 	  Say yes here to support the GPIO device on ZTE ZX SoCs.
Signature · 1 line
2.9.3