linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] drivers: thermal: Remove ARCH_HAS_BANDGAP dependency for samsung
@ 2014-12-02  6:34 Abhilash Kesavan
  2014-12-02  6:34 ` [PATCH 2/2] ARM: EXYNOS: Remove ARCH_HAS_BANDGAP selection Abhilash Kesavan
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Abhilash Kesavan @ 2014-12-02  6:34 UTC (permalink / raw)
  To: linux-arm-kernel

As samsung thermal support is enabled only for ARCH_EXYNOS, there is no
need to select ARCH_HAS_BANDGAP from the arch-specific code. Removing this
dependency will also allow the driver to be enabled on 64-bit SoCs.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
---
This was based on the discussion regarding adding ARCH_HAS_BANDGAP symbol for
arm64 here: http://www.spinics.net/lists/arm-kernel/msg377560.html

 drivers/thermal/samsung/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig
index f760389..c43306e 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 ARCH_HAS_BANDGAP && OF
+	depends on 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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-10 14:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02  6:34 [PATCH 1/2] drivers: thermal: Remove ARCH_HAS_BANDGAP dependency for samsung Abhilash Kesavan
2014-12-02  6:34 ` [PATCH 2/2] ARM: EXYNOS: Remove ARCH_HAS_BANDGAP selection Abhilash Kesavan
2014-12-02 14:23   ` Bartlomiej Zolnierkiewicz
2014-12-08  9:44   ` Lukasz Majewski
2014-12-02 14:17 ` [PATCH 1/2] drivers: thermal: Remove ARCH_HAS_BANDGAP dependency for samsung Bartlomiej Zolnierkiewicz
2014-12-08  9:43 ` Lukasz Majewski
2014-12-10  3:56   ` Abhilash Kesavan
2014-12-10 14:41     ` Eduardo Valentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).