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