diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2015-09-09 21:13:41 -0700 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-09-21 13:38:15 -0700 |
commit | c902afbbb8157511af4c9abb512ec1f3d7df9c06 (patch) | |
tree | 202ff27f3bf049b630fdea14e8c8f162f53af78a | |
parent | 2717086ce0de66e8df5cb92f4a308661b9b9e502 (diff) | |
download | ti-soc-thermal-c902afbbb8157511af4c9abb512ec1f3d7df9c06.tar.gz |
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>
-rw-r--r-- | drivers/thermal/Kconfig | 1 | ||||
-rw-r--r-- | drivers/thermal/ti-soc-thermal/Kconfig | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 7d95587b27573d..5aabc4bc0d757f 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -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 diff --git a/drivers/thermal/ti-soc-thermal/Kconfig b/drivers/thermal/ti-soc-thermal/Kconfig index 7a24018df7cdb5..cb6686ff09ae9d 100644 --- a/drivers/thermal/ti-soc-thermal/Kconfig +++ b/drivers/thermal/ti-soc-thermal/Kconfig @@ -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 |