The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] gpio: merrifield: allow COMPILE_TEST builds
@ 2026-05-09  0:32 Rosen Penev
  0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-05-09  0:32 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 Merrifield GPIO driver builds on non-X86 platforms when PCI
and ACPI are available.  Allow it to build with COMPILE_TEST while keeping
an explicit ACPI dependency for the ACPI lookup path.

Tested with:
make LLVM=1 ARCH=loongarch drivers/gpio/gpio-merrifield.o \
  drivers/gpio/gpio-tangier.o

Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 drivers/gpio/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 9e1ed0f451b9..51f510fa8cc7 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1818,7 +1818,8 @@ config GPIO_BT8XX
 
 config GPIO_MERRIFIELD
 	tristate "Intel Merrifield GPIO support"
-	depends on X86_INTEL_MID
+	depends on X86_INTEL_MID || COMPILE_TEST
+	depends on ACPI
 	select GPIO_TANGIER
 	help
 	  Say Y here to support Intel Merrifield GPIO.
-- 
2.54.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-09  0:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-09  0:32 [PATCH] gpio: merrifield: 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