summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorAmit Daniel Kachhap <amit.daniel@samsung.com>2013-06-24 12:50:23 +0200
committerEduardo Valentin <eduardo.valentin@ti.com>2013-08-13 15:51:59 +0200
commitc657dcd1988e561b587a07baa3978a98780ae62a (patch)
tree7d38a588fd41a0e8d6db3771acba5c175d6ea463 /drivers/thermal
parentthermal: exynos: Moving exynos thermal files into samsung directory (diff)
downloadlinux-c657dcd1988e561b587a07baa3978a98780ae62a.tar.xz
linux-c657dcd1988e561b587a07baa3978a98780ae62a.zip
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 <kgene.kim@samsung.com> Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/samsung/Kconfig2
1 files changed, 1 insertions, 1 deletions
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