summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2016-11-20 20:44:48 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-11-22 12:21:37 +0300
commit752fda89f5f19531351304529e6386634ea1bf27 (patch)
tree0549f69249fdf256e0cc4d09c57b0510d7a7bd1c /drivers/gpio/Kconfig
parent72aba2e25e0fad0c5bd24a1dd10725c99fcef3c6 (diff)
downloadlinux-752fda89f5f19531351304529e6386634ea1bf27.tar.xz
gpio: zx: depend on ARCH_ZX
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>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b19e84747f31..3d39ff7a5594 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -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.