Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1473206
| From | Leo Yan <leo.yan@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] thermal: hisilicon: fix for dependency |
| Date | 2016-08-31 11:00 +0200 |
| Message-ID | <sc9xf-cp-23@gated-at.bofh.it> (permalink) |
| References | <sc9xf-cp-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- drivers/thermal/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 2d702ca..91ebab3 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -177,8 +177,10 @@ config THERMAL_EMULATION config HISI_THERMAL tristate "Hisilicon thermal driver" - depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST + depends on ARCH_HISI || COMPILE_TEST depends on HAS_IOMEM + depends on OF + default y help Enable this to plug hisilicon's thermal sensor driver into the Linux thermal framework. cpufreq is used as the cooling device to throttle -- 1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] arm64: Hikey: enable CPUFreq and thermal drivers Leo Yan <leo.yan@linaro.org> - 2016-08-31 11:00 +0200
[PATCH 3/3] arm64: defconfig: enable two common modules for power management Leo Yan <leo.yan@linaro.org> - 2016-08-31 11:00 +0200
[PATCH 2/3] thermal: hisilicon: fix for dependency Leo Yan <leo.yan@linaro.org> - 2016-08-31 11:00 +0200
[PATCH 1/3] clk: Hi6220: enable stub clock driver for ARCH_HISI Leo Yan <leo.yan@linaro.org> - 2016-08-31 11:00 +0200
Re: [PATCH 1/3] clk: Hi6220: enable stub clock driver for ARCH_HISI Stephen Boyd <sboyd@codeaurora.org> - 2016-09-01 00:50 +0200
csiph-web