From: Amit Daniel Kachhap Date: Mon, 24 Jun 2013 10:50:23 +0000 (+0530) Subject: thermal: exynos: Use ARCH_HAS_BANDGAP config to know the supported soc's X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c657dcd1988e561b587a07baa3978a98780ae62a;p=deliverable%2Flinux.git thermal: exynos: Use ARCH_HAS_BANDGAP config to know the supported soc's This patch uses the recently added config sybmol ARCH_HAS_BANDGAP to enable the TMU driver. This will allow adding support for new soc easily as now it is the platform responsibility to enable this config symbol for a particular soc. Acked-by: Kukjin Kim Acked-by: Jonghwa Lee Acked-by: Eduardo Valentin Signed-off-by: Amit Daniel Kachhap Signed-off-by: Eduardo Valentin --- diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig index 2d3d9dcf9e31..883a8a8b1ceb 100644 --- a/drivers/thermal/samsung/Kconfig +++ b/drivers/thermal/samsung/Kconfig @@ -1,6 +1,6 @@ config EXYNOS_THERMAL tristate "Temperature sensor on Samsung EXYNOS" - depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) + depends on ARCH_HAS_BANDGAP depends on CPU_THERMAL help If you say yes here you get support for TMU (Thermal Management