thermal: ti-soc: Kconfig fix to avoid menu showing wrongly
authorEduardo Valentin <edubezval@gmail.com>
Thu, 10 Sep 2015 04:13:41 +0000 (21:13 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 14 Sep 2015 02:33:53 +0000 (19:33 -0700)
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>
drivers/thermal/Kconfig
drivers/thermal/ti-soc-thermal/Kconfig

index 7d95587b27573d0500ae43005154977b588f8e38..5aabc4bc0d757fb0d7f423663867c8b634797a97 100644 (file)
@@ -349,6 +349,7 @@ config INTEL_PCH_THERMAL
          programmable trip points and other information.
 
 menu "Texas Instruments thermal drivers"
+depends on ARCH_HAS_BANDGAP || COMPILE_TEST
 source "drivers/thermal/ti-soc-thermal/Kconfig"
 endmenu
 
index 7a24018df7cdb51dfe26fec84193b87f51de725b..cb6686ff09ae9d64b18f68c7a1854f7694ee3ce4 100644 (file)
@@ -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