Skip to contentSkip to conversation

gpio: xgene: allow COMPILE_TEST builds

PATCH Applied Rosen Penev 2 participants 2 messages May 19 – May 20 GPIO

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index ba2e8c802093..9ea5c2523fd4 100644
@@ -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
Signature · 1 line
2.54.0
#1 lore raw
Quoted 8 lines · Rosen Penev

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

[...]

Applied, thanks!

[1/1] gpio: xgene: allow COMPILE_TEST builds

      https://git.kernel.org/brgl/c/c7b929fe289d6e5118954f8327c143f8ad707a63

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>