]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Exynos: Add missing dependency
authorZhang Rui <rui.zhang@intel.com>
Thu, 15 Nov 2012 06:51:05 +0000 (14:51 +0800)
committerZhang Rui <rui.zhang@intel.com>
Thu, 15 Nov 2012 12:41:46 +0000 (20:41 +0800)
CPU_FREQ_TABLE depends on CPU_FREQ. Selecting CPU_FREQ_TABLE without checking
for dependencies gives the following compilation warnings:
warning: (ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC && UX500_SOC_DB8500 &&
CPU_THERMAL && EXYNOS_THERMAL) selects CPU_FREQ_TABLE which has unmet
direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ)

Based-on-patch-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/Kconfig

index 937a23da66e57c1431d77b595ea83f7f11fb9cee..99b6587ab8b314aa0569ca16e555f151880b5837 100644 (file)
@@ -96,7 +96,7 @@ config RCAR_THERMAL
 config EXYNOS_THERMAL
        tristate "Temperature sensor on Samsung EXYNOS"
        depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5)
-       select CPU_FREQ_TABLE
+       depends on CPU_THERMAL
        help
          If you say yes here you get support for TMU (Thermal Managment
          Unit) on SAMSUNG EXYNOS series of SoC.