]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: EXYNOS: select THERMAL_OF
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Jan 2016 14:50:38 +0000 (15:50 +0100)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 1 Feb 2016 01:29:20 +0000 (10:29 +0900)
commitdc7eb9d589e595954792cc192bcbb92932e5c2ff
tree0f57356547515e220b0c0e9469796b2b69a69afc
parenta113b057615b6ea96dd72262fe1d879f864b8fbf
ARM: EXYNOS: select THERMAL_OF

We cannot select a symbol that has disabled dependencies, so
we get a warning if we ever enable EXYNOS_THERMAL without
also turning on THERMAL_OF:

warning: (ARCH_EXYNOS) selects EXYNOS_THERMAL which has unmet direct dependencies (THERMAL && (ARCH_EXYNOS || COMPILE_TEST) && THERMAL_OF)

This adds another 'select' in the platform code to avoid that
case. Alternatively, we could decide to not select EXYNOS_THERMAL
here and instead make it a user option.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: f87e6bd3f740 ("thermal: exynos: Add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/mach-exynos/Kconfig