Browse Source

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

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

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Eduardo Valentin 10 years ago
parent
commit
ec2feb475f
2 changed files with 1 additions and 2 deletions
  1. 1 0
      drivers/thermal/Kconfig
  2. 0 2
      drivers/thermal/ti-soc-thermal/Kconfig

+ 1 - 0
drivers/thermal/Kconfig

@@ -349,6 +349,7 @@ config INTEL_PCH_THERMAL
 	  programmable trip points and other information.
 	  programmable trip points and other information.
 
 
 menu "Texas Instruments thermal drivers"
 menu "Texas Instruments thermal drivers"
+depends on ARCH_HAS_BANDGAP || COMPILE_TEST
 source "drivers/thermal/ti-soc-thermal/Kconfig"
 source "drivers/thermal/ti-soc-thermal/Kconfig"
 endmenu
 endmenu
 
 

+ 0 - 2
drivers/thermal/ti-soc-thermal/Kconfig

@@ -1,7 +1,5 @@
 config TI_SOC_THERMAL
 config TI_SOC_THERMAL
 	tristate "Texas Instruments SoCs temperature sensor driver"
 	tristate "Texas Instruments SoCs temperature sensor driver"
-	depends on THERMAL
-	depends on ARCH_HAS_BANDGAP || COMPILE_TEST
 	help
 	help
 	  If you say yes here you get support for the Texas Instruments
 	  If you say yes here you get support for the Texas Instruments
 	  OMAP4460+ on die bandgap temperature sensor support. The register
 	  OMAP4460+ on die bandgap temperature sensor support. The register