All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] thermal: offer TI thermal support only when ARCH_OMAP2PLUS is defined
@ 2013-10-04 12:35 Bartlomiej Zolnierkiewicz
  2013-10-04 18:22   ` Eduardo Valentin
  0 siblings, 1 reply; 15+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2013-10-04 12:35 UTC (permalink / raw)
  To: Eduardo Valentin, Zhang Rui; +Cc: linux-pm, linux-kernel, Kyungmin Park

Menu for Texas Instruments thermal support is visible on all
platforms and TI_SOC_THERMAL + TI_THERMAL config options can
be selected also on EXYNOS platform (on which ARCH_HAS_BANDGAP
config option is selected by SoCs config options to fulfill
EXYNOS_THERMAL config option dependency). Thus the code which
is never used can be build. Fix it by making TI menu dependent
on ARCH_OMAP2PLUS config option.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 drivers/thermal/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 57e06a9..a709c63 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -193,6 +193,7 @@ config X86_PKG_TEMP_THERMAL
 	  notification methods.
 
 menu "Texas Instruments thermal drivers"
+depends on ARCH_OMAP2PLUS
 source "drivers/thermal/ti-soc-thermal/Kconfig"
 endmenu
 
-- 
1.8.2.3



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

end of thread, other threads:[~2013-10-08 17:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 12:35 [PATCH] thermal: offer TI thermal support only when ARCH_OMAP2PLUS is defined Bartlomiej Zolnierkiewicz
2013-10-04 18:22 ` Eduardo Valentin
2013-10-04 18:22   ` Eduardo Valentin
2013-10-04 18:26   ` Eduardo Valentin
2013-10-04 18:26     ` Eduardo Valentin
2013-10-07 10:05     ` Bartlomiej Zolnierkiewicz
2013-10-07 10:51       ` Bartlomiej Zolnierkiewicz
2013-10-07  9:57   ` Bartlomiej Zolnierkiewicz
2013-10-07 10:50     ` Bartlomiej Zolnierkiewicz
2013-10-07 14:10       ` Bartlomiej Zolnierkiewicz
2013-10-08 14:47         ` Bartlomiej Zolnierkiewicz
2013-10-08 16:09           ` Eduardo Valentin
2013-10-08 16:09             ` Eduardo Valentin
2013-10-08 16:59             ` Bartlomiej Zolnierkiewicz
2013-10-08 17:40               ` Bartlomiej Zolnierkiewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.