diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index c37eedc35a240d0d3fe4387698f50e7884e52cfc..5c7711091964ca56d0859d4bcfed309798f7b663 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -376,6 +376,7 @@ config MTK_THERMAL tristate "Temperature sensor driver for mediatek SoCs" depends on ARCH_MEDIATEK || COMPILE_TEST depends on HAS_IOMEM + depends on NVMEM || NVMEM=n default y help Enable this option if you want to have support for thermal management