linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eduardo Valentin <edubezval@gmail.com>
To: Rui Zhang <rui.zhang@intel.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Linux PM <linux-pm@vger.kernel.org>,
	Eduardo Valentin <edubezval@gmail.com>,
	linux-omap@vger.kernel.org
Subject: [PATCHv2 10/10] thermal: ti-soc: Kconfig fix to avoid menu showing wrongly
Date: Sun, 13 Sep 2015 19:31:39 -0700	[thread overview]
Message-ID: <1442197899-5952-11-git-send-email-edubezval@gmail.com> (raw)
In-Reply-To: <1442197899-5952-1-git-send-email-edubezval@gmail.com>

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                | 1 +
 drivers/thermal/ti-soc-thermal/Kconfig | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 63b46c0..9453553 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -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
 
diff --git a/drivers/thermal/ti-soc-thermal/Kconfig b/drivers/thermal/ti-soc-thermal/Kconfig
index 7a24018..cb6686f 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
-- 
2.5.0


      parent reply	other threads:[~2015-09-14  2:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14  2:31 [PATCHv2 00/10] thermal: add COMPILE_TEST (on drivers) Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 01/10] thermal: hisi: allow compile test Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 02/10] thermal: spear: " Eduardo Valentin
     [not found] ` <1442197899-5952-1-git-send-email-edubezval-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-09-14  2:31   ` [PATCHv2 03/10] thermal: rockchip: " Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 04/10] thermal: kirkwood: " Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 05/10] thermal: dove: " Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 06/10] thermal: armada: " Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 07/10] thermal: exynos: " Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 08/10] thermal: qcom_spmi: " Eduardo Valentin
2015-09-14  2:31 ` [PATCHv2 09/10] thermal: ti-soc: " Eduardo Valentin
2015-09-14  2:31 ` Eduardo Valentin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442197899-5952-11-git-send-email-edubezval@gmail.com \
    --to=edubezval@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).