aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2016-11-20 17:44:48 +0000
committerLinus Walleij <linus.walleij@linaro.org>2016-11-22 10:21:37 +0100
commit752fda89f5f19531351304529e6386634ea1bf27 (patch)
tree0549f69249fdf256e0cc4d09c57b0510d7a7bd1c /drivers/gpio
parentgpio: x86: update config dependencies for x86 specific hardware (diff)
downloadlinux-dev-752fda89f5f19531351304529e6386634ea1bf27.tar.xz
linux-dev-752fda89f5f19531351304529e6386634ea1bf27.zip
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')
-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.