diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b19e84747f313dcd2f6b31d3351fa03e1ef96f20..3d39ff7a559463a9b9de217887d26d07844b6539 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.