gpio: zx: depend on ARCH_ZX
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 20 Nov 2016 17:44:48 +0000 (17:44 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Nov 2016 09:21:37 +0000 (10:21 +0100)
Set GPIO_ZX to depend on ARCH_ZX as it's SOC specific.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig

index b19e847..3d39ff7 100644 (file)
@@ -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.