Skip to contentSkip to conversation

thermal: add COMPILE_TEST support for i.MX8MM

PATCH Applied Anson Huang 3 participants 3 messages Mar 6, 2020 – Mar 12, 2020 Thermal

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: add COMPILE_TEST support for i.MX8MM

Add COMPILE_TEST support to i.MX8MM thermal driver for better compile testing coverage.

---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index 4d6753f..91af271 100644
@@ -265,7 +265,7 @@ config IMX_SC_THERMAL
 
 config IMX8MM_THERMAL
 	tristate "Temperature sensor driver for Freescale i.MX8MM SoC"
-	depends on ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
 	depends on OF
 	help
 	  Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC.
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Anson Huang

Add COMPILE_TEST support to i.MX8MM thermal driver for better compile testing coverage.

Quoted 20 lines
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -2
index 4d6753f..91af271 100644
@@ -265,7 +265,7 @@ config IMX_SC_THERMAL
 
 config IMX8MM_THERMAL
        tristate "Temperature sensor driver for Freescale i.MX8MM SoC"
-       depends on ARCH_MXC
+       depends on ARCH_MXC || COMPILE_TEST
        depends on OF
        help
          Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC.
--

2.7.4

#2 lore raw
In reply to Anson Huang
Quoted 5 lines · Anson Huang

Add COMPILE_TEST support to i.MX8MM thermal driver for better compile testing coverage.

---

Applied, thanks

Quoted 17 lines
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index 4d6753f..91af271 100644
@@ -265,7 +265,7 @@ config IMX_SC_THERMAL
 
 config IMX8MM_THERMAL
 	tristate "Temperature sensor driver for Freescale i.MX8MM SoC"
-	depends on ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
 	depends on OF
 	help
 	  Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC.
Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog