提交 a6f4850d 编写于 作者: J Johannes Berg 提交者: Eduardo Valentin

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: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
上级 1d0fd42f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册