]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gpio: xgene: allow COMPILE_TEST builds
authorRosen Penev <rosenp@gmail.com>
Tue, 19 May 2026 00:59:58 +0000 (17:59 -0700)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 20 May 2026 13:23:46 +0000 (15:23 +0200)
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 <rosenp@gmail.com>
Link: https://patch.msgid.link/20260519005958.628783-1-rosenp@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/Kconfig

index 00fcab5d09a4294ed778cea78af5867a0f6e481b..4d64ad9df0e0908c7d7aa77e4885eff6b447f357 100644 (file)
@@ -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