]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: fix Mediatek thermal controller build
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Apr 2016 13:15:20 +0000 (15:15 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 21 Apr 2016 04:13:21 +0000 (21:13 -0700)
commitdd8d6a85853840c79648100db7be7744d0e78fec
treefd958ea26e2841cc87db4b07d175376caf4b27de
parent17e27f1b5b6b6811fa16d7d0f4f50fbd552769cc
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>
drivers/thermal/Kconfig