diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 94fa9e3f823540305d46497c2a140c3c8db0d6de..900d505ee5d566e87a09cbe9a9f6ed20e696b327 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -186,7 +186,7 @@ config HISI_THERMAL config IMX_THERMAL tristate "Temperature sensor driver for Freescale i.MX SoCs" - depends on CPU_THERMAL + depends on (ARCH_MXC && CPU_THERMAL) || COMPILE_TEST depends on MFD_SYSCON depends on OF help