thermal: Add COMPILE_TEST support for i.MX8MM
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 6 Mar 2020 15:37:37 +0000 (23:37 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 12 Mar 2020 11:11:43 +0000 (12:11 +0100)
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
drivers/thermal/Kconfig

index 4d6753f2b18fe75e739351618d075c6dbe26e6ca..91af271e9bb02475b304dc7e5ae39f278d1d247e 100644 (file)
@@ -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.