aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2016-08-31 04:50:16 -0400
committerZhang Rui <rui.zhang@intel.com>2016-11-22 21:07:35 -0500
commitf05f4821268d9c5904fe60c859390360b2898783 (patch)
treee10f440f846f22ca2469c173c596813355aa10aa
parent882f5815de0c8983010c20ea8ef3b204701cb6b0 (diff)
thermal: hisilicon: fix for dependency
The thermal driver is standalone driver which is used to enable thermal sensors, so it can be used with any cooling device and should not bind with CPU cooling device driver. This original patch is suggested by Amit Kucheria; so it's to polish the dependency in Kconfig, and remove the dependency with CPU_THERMAL. Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r--drivers/thermal/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index a13541bdc726..c2c056cc7ea5 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -177,8 +177,10 @@ config THERMAL_EMULATION
177 177
178config HISI_THERMAL 178config HISI_THERMAL
179 tristate "Hisilicon thermal driver" 179 tristate "Hisilicon thermal driver"
180 depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST 180 depends on ARCH_HISI || COMPILE_TEST
181 depends on HAS_IOMEM 181 depends on HAS_IOMEM
182 depends on OF
183 default y
182 help 184 help
183 Enable this to plug hisilicon's thermal sensor driver into the Linux 185 Enable this to plug hisilicon's thermal sensor driver into the Linux
184 thermal framework. cpufreq is used as the cooling device to throttle 186 thermal framework. cpufreq is used as the cooling device to throttle