summaryrefslogtreecommitdiff
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-03-06 18:37:37 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-03-12 14:11:43 +0300
commit52cbc58b3bad2d37286110ce3adc7441c2d3de81 (patch)
treed5d0a770a1ae0d50cb3f758afdde707cae7a78ce /drivers/thermal/Kconfig
parentcbe259fd80b7b02fba0dad79d8fdda8b70a8b963 (diff)
downloadlinux-52cbc58b3bad2d37286110ce3adc7441c2d3de81.tar.xz
thermal: Add COMPILE_TEST support for i.MX8MM
Add COMPILE_TEST support to i.MX8MM thermal driver for better compile testing coverage. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1583509057-8197-1-git-send-email-Anson.Huang@nxp.com
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 4d6753f2b18f..91af271e9bb0 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -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.