Skip to contentSkip to conversation

gpio: zx: depend on ARCH_ZX

PATCH Superseded Peter Robinson 2 participants 2 messages Nov 6, 2016 – Nov 7, 2016 GPIO

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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(+)
drivers/gpio/Kconfig +1 -0
index d011cb8..2c458c8 100644
@@ -524,6 +524,7 @@ config GPIO_ZYNQ
 
 config GPIO_ZX
 	bool "ZTE ZX GPIO support"
+	depends on ARCH_ZX
 	select GPIOLIB_IRQCHIP
 	help
 	  Say yes here to support the GPIO device on ZTE ZX SoCs.
Signature · 1 line
2.9.3
#1 lore raw

2016-11-07 3:29 GMT+09:00 Peter Robinson <[email protected]>:

Quoted 12 lines

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

---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +0 -0
index d011cb8..2c458c8 100644

drivers/gpio/Kconfig config GPIO_ZYNQ · line 530

Quoted 7 lines
drivers/gpio/Kconfig +1 -0
@@ -524,6 +524,7 @@ config GPIO_ZYNQ
 
 config GPIO_ZX
        bool "ZTE ZX GPIO support"
+       depends on ARCH_ZX
        select GPIOLIB_IRQCHIP
        help
          Say yes here to support the GPIO device on ZTE ZX SoCs.

Maybe

      depends on ARCH_ZX || COMPILE_TEST

to keep the COMPILE_TEST'ability?

Likewise for the other two patches.

Signature · 2 lines
Best Regards
Masahiro Yamada