]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
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 b19e84747f313dcd2f6b31d3351fa03e1ef96f20..3d39ff7a559463a9b9de217887d26d07844b6539 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.