* [PATCHv2] gpio: sodaville: allow COMPILE_TEST builds
@ 2026-05-12 20:16 Rosen Penev
0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-05-12 20:16 UTC (permalink / raw)
To: linux-gpio
Cc: Linus Walleij, Bartosz Golaszewski, Nathan Chancellor,
Nick Desaulniers, Bill Wendling, Justin Stitt, open list,
open list:CLANG/LLVM BUILD SUPPORT:Keyword:b(?i:clang|llvm)b
The Intel Sodaville GPIO driver uses PCI/MMIO and generic GPIO helpers,
and builds outside X86.
Tested with:
make LLVM=1 ARCH=loongarch drivers/gpio/gpio-sodaville.o
Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
v2: just add COMPILE_TEST. Moving outside of menuconfig is wrong.
drivers/gpio/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index c9a0d53da6d8..92281c14653b 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1912,7 +1912,8 @@ config GPIO_RDC321X
config GPIO_SODAVILLE
bool "Intel Sodaville GPIO support"
- depends on X86 && OF
+ depends on X86 || COMPILE_TEST
+ depends on OF
select GPIO_GENERIC
select GENERIC_IRQ_CHIP
help
--
2.54.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-12 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 20:16 [PATCHv2] gpio: sodaville: allow COMPILE_TEST builds Rosen Penev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox