diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2015-09-10 00:13:41 -0400 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-09-13 22:33:53 -0400 |
commit | ec2feb475f4880246166a47e066e7a601a6103af (patch) | |
tree | 6e8c415b236700f65c84b025a34b3fae50b2782c | |
parent | 41ae3c02743e8f1f21ceebca614342d26b4eb080 (diff) |
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 7d95587b2757..5aabc4bc0d75 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -349,6 +349,7 @@ config INTEL_PCH_THERMAL | |||
349 | programmable trip points and other information. | 349 | programmable trip points and other information. |
350 | 350 | ||
351 | menu "Texas Instruments thermal drivers" | 351 | menu "Texas Instruments thermal drivers" |
352 | depends on ARCH_HAS_BANDGAP || COMPILE_TEST | ||
352 | source "drivers/thermal/ti-soc-thermal/Kconfig" | 353 | source "drivers/thermal/ti-soc-thermal/Kconfig" |
353 | endmenu | 354 | endmenu |
354 | 355 | ||
diff --git a/drivers/thermal/ti-soc-thermal/Kconfig b/drivers/thermal/ti-soc-thermal/Kconfig index 7a24018df7cd..cb6686ff09ae 100644 --- a/drivers/thermal/ti-soc-thermal/Kconfig +++ b/drivers/thermal/ti-soc-thermal/Kconfig | |||
@@ -1,7 +1,5 @@ | |||
1 | config TI_SOC_THERMAL | 1 | config TI_SOC_THERMAL |
2 | tristate "Texas Instruments SoCs temperature sensor driver" | 2 | tristate "Texas Instruments SoCs temperature sensor driver" |
3 | depends on THERMAL | ||
4 | depends on ARCH_HAS_BANDGAP || COMPILE_TEST | ||
5 | help | 3 | help |
6 | If you say yes here you get support for the Texas Instruments | 4 | If you say yes here you get support for the Texas Instruments |
7 | OMAP4460+ on die bandgap temperature sensor support. The register | 5 | OMAP4460+ on die bandgap temperature sensor support. The register |