From: Rosen Penev Date: Tue, 19 May 2026 00:59:58 +0000 (-0700) Subject: gpio: xgene: allow COMPILE_TEST builds X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7b929fe289d6e5118954f8327c143f8ad707a63;p=thirdparty%2Fkernel%2Flinux.git gpio: xgene: allow COMPILE_TEST builds The APM X-Gene GPIO driver uses generic platform, ACPI, MMIO, and gpiolib interfaces. Allow it to build with COMPILE_TEST, matching the existing coverage for the X-Gene standby GPIO driver. Tested with: make LLVM=1 ARCH=loongarch drivers/gpio/gpio-xgene.o Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev Link: https://patch.msgid.link/20260519005958.628783-1-rosenp@gmail.com Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 00fcab5d09a42..4d64ad9df0e09 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -825,7 +825,7 @@ config GPIO_WCD934X config GPIO_XGENE bool "APM X-Gene GPIO controller support" - depends on ARM64 + depends on ARM64 || COMPILE_TEST help This driver is to support the GPIO block within the APM X-Gene SoC platform's generic flash controller. The GPIO pins are muxed with