mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] thermal: amlogic: Allow COMPILE_TEST
@ 2026-05-19  3:58 Rosen Penev
  0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-05-19  3:58 UTC (permalink / raw)
  To: linux-pm
  Cc: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba, open list

Separate OF as a hard requirement and allow ARCH_MESON || COMPILE_TEST
so the driver can be built on non-Meson architectures for testing.

Assisted-by: Claude:Sonnet-4.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 drivers/thermal/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index b10080d61860..8051d6510296 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -435,7 +435,8 @@ endmenu
 config AMLOGIC_THERMAL
 	tristate "Amlogic Thermal Support"
 	default ARCH_MESON
-	depends on OF && ARCH_MESON
+	depends on ARCH_MESON || COMPILE_TEST
+	depends on OF
 	help
 	  If you say yes here you get support for Amlogic Thermal
 	  for G12 SoC Family.
-- 
2.54.0


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

only message in thread, other threads:[~2026-05-19  3:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-19  3:58 [PATCH] thermal: amlogic: Allow COMPILE_TEST Rosen Penev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®