From: Rosen Penev Date: Tue, 19 May 2026 00:59:12 +0000 (-0700) Subject: gpio: en7523: allow COMPILE_TEST builds X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=292e7cab58e2ce1f9213a6a326eb314e18756459;p=thirdparty%2Fkernel%2Flinux.git gpio: en7523: allow COMPILE_TEST builds The Airoha EN7523 GPIO driver uses generic platform, MMIO, and gpiolib interfaces. Allow it to build with COMPILE_TEST so it gets coverage on non-Airoha platforms. Tested with: make LLVM=1 ARCH=loongarch drivers/gpio/gpio-en7523.o Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev Link: https://patch.msgid.link/20260519005912.628667-1-rosenp@gmail.com Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 4d64ad9df0e09..9ea5c2523fd42 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -302,7 +302,7 @@ config GPIO_EM config GPIO_EN7523 tristate "Airoha GPIO support" - depends on ARCH_AIROHA + depends on ARCH_AIROHA || COMPILE_TEST default ARCH_AIROHA select GPIO_GENERIC select GPIOLIB_IRQCHIP