Skip to contentSkip to conversation

thermal: amlogic: Allow COMPILE_TEST

PATCH New Rosen Penev 1 participant 1 message May 19 Thermal

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: amlogic: Allow COMPILE_TEST

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
---
 drivers/thermal/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/thermal/Kconfig +2 -1
index b10080d61860..8051d6510296 100644
@@ -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.
Signature · 1 line
2.54.0