diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 07002df4f83acdde2efdf3f51299976ef25d2e1e..cb14f1ec59539d436028fb5f45d82d9aee9a54f3 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -206,6 +206,7 @@ config HISI_THERMAL config IMX_THERMAL tristate "Temperature sensor driver for Freescale i.MX SoCs" depends on (ARCH_MXC && CPU_THERMAL) || COMPILE_TEST + depends on NVMEM || !NVMEM depends on MFD_SYSCON depends on OF help