thermal: fix Mediatek thermal controller build
[cascardo/linux.git] / drivers / thermal / Kconfig
index 5c77110..3c3dc4a 100644 (file)
@@ -377,6 +377,7 @@ config MTK_THERMAL
        depends on ARCH_MEDIATEK || COMPILE_TEST
        depends on HAS_IOMEM
        depends on NVMEM || NVMEM=n
+       depends on RESET_CONTROLLER
        default y
        help
          Enable this option if you want to have support for thermal management