diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-07-02 15:40:00 +0900 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-08-02 19:36:57 -0700 |
commit | f87e6bd3f7401ee3c04248d8ea2dc32883a1f8fb (patch) | |
tree | 3af1dde4f6fe6c41b164663abcb8cfe8275d734a /drivers/thermal | |
parent | 5f09a5cbd14ae16e93866040fa44d930ff885650 (diff) | |
download | linux-f87e6bd3f7401ee3c04248d8ea2dc32883a1f8fb.tar.gz linux-f87e6bd3f7401ee3c04248d8ea2dc32883a1f8fb.tar.bz2 linux-f87e6bd3f7401ee3c04248d8ea2dc32883a1f8fb.zip |
thermal: exynos: Add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF
The exynos thermal driver use the of_thermal_*() API to parse the basic data
for thermal management from devicetree file. So, if CONFIG_EXYNOS_THERMAL is
selected without CONFIG_THERMAL_OF, kernel can build it without any problem.
But, exynos thermal driver is not working with following error log. This patch
add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF.
[ 1.458644] get_th_reg: Cannot get trip points from of-thermal.c!
[ 1.459096] get_th_reg: Cannot get trip points from of-thermal.c!
[ 1.465211] exynos4412_tmu_initialize: No CRITICAL trip point defined at of-thermal.c!
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/samsung/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig index c8e35c1a43dc..e0da3865e060 100644 --- a/drivers/thermal/samsung/Kconfig +++ b/drivers/thermal/samsung/Kconfig @@ -1,6 +1,6 @@ config EXYNOS_THERMAL tristate "Exynos thermal management unit driver" - depends on OF + depends on THERMAL_OF help If you say yes here you get support for the TMU (Thermal Management Unit) driver for SAMSUNG EXYNOS series of SoCs. This driver initialises |