thermal: fix Mediatek thermal controller build

At least with CONFIG_COMPILE_TEST, there's no reason to assume
that CONFIG_RESET_CONTROLLER is set, but the code for this
controller requires it since it calls device_reset().

Make CONFIG_MTK_THERMAL properly depend on CONFIG_RESET_CONTROLLER.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>

authored by Johannes Berg and committed by Eduardo Valentin a6f4850d 1d0fd42f

+1
+1
drivers/thermal/Kconfig
··· 377 depends on ARCH_MEDIATEK || COMPILE_TEST 378 depends on HAS_IOMEM 379 depends on NVMEM || NVMEM=n 380 default y 381 help 382 Enable this option if you want to have support for thermal management
··· 377 depends on ARCH_MEDIATEK || COMPILE_TEST 378 depends on HAS_IOMEM 379 depends on NVMEM || NVMEM=n 380 + depends on RESET_CONTROLLER 381 default y 382 help 383 Enable this option if you want to have support for thermal management