Skip to contentSkip to conversation

thermal: ti-soc: Kconfig fix to avoid menu showing wrongly

PATCH New Eduardo Valentin 1 participant 1 message Sep 10, 2015

Subsystems (2)
lore
Share & tools
lore

Eduardo Valentin

author maintainer
#0 lore raw

PATCH 1/1 thermal: ti-soc: Kconfig fix to avoid menu showing wrongly

Move the dependencies to menu, so we avoid showing it wrongly.

---
 drivers/thermal/Kconfig                | 1 +
 drivers/thermal/ti-soc-thermal/Kconfig | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

---

This depends on the compile test series.

drivers/thermal/Kconfig +1 -0
index a752bef..c5eb142 100644
@@ -341,6 +341,7 @@ config ACPI_THERMAL_REL
 	depends on ACPI
 
 menu "Texas Instruments thermal drivers"
+depends on ARCH_HAS_BANDGAP || COMPILE_TEST
 source "drivers/thermal/ti-soc-thermal/Kconfig"
 endmenu
 
drivers/thermal/ti-soc-thermal/Kconfig +0 -2
index 7a24018..cb6686f 100644
@@ -1,7 +1,5 @@
 config TI_SOC_THERMAL
 	tristate "Texas Instruments SoCs temperature sensor driver"
-	depends on THERMAL
-	depends on ARCH_HAS_BANDGAP || COMPILE_TEST
 	help
 	  If you say yes here you get support for the Texas Instruments
 	  OMAP4460+ on die bandgap temperature sensor support. The register
Signature · 1 line
2.5.0