linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: Zhang Rui <rui.zhang@intel.com>,
	Eduardo Valentin <edubezval@gmail.com>,
	linux-pm@vger.kernel.org
Cc: Peter Robinson <pbrobinson@gmail.com>
Subject: [PATCH] thermal: ensure SoC thermal drivers depend on associated SoC
Date: Sun, 27 Dec 2015 16:53:55 +0000	[thread overview]
Message-ID: <1451235235-31387-1-git-send-email-pbrobinson@gmail.com> (raw)

The i.MX and QCom thermal drivers don't depend on their associated
SoC, fix it so they depend on the SoC and COMPILE_TEST.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/thermal/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 8cc4ac6..2d33f8d 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -185,6 +185,7 @@ config HISI_THERMAL
 
 config IMX_THERMAL
 	tristate "Temperature sensor driver for Freescale i.MX SoCs"
+	depends on ARCH_MXC || COMPILE_TEST
 	depends on CPU_THERMAL
 	depends on MFD_SYSCON
 	depends on OF
@@ -382,6 +383,7 @@ endmenu
 
 config QCOM_SPMI_TEMP_ALARM
 	tristate "Qualcomm SPMI PMIC Temperature Alarm"
+	depends on ARCH_QCOM || COMPILE_TEST
 	depends on OF && SPMI && IIO
 	select REGMAP_SPMI
 	help
-- 
2.5.0


                 reply	other threads:[~2015-12-27 16:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1451235235-31387-1-git-send-email-pbrobinson@gmail.com \
    --to=pbrobinson@gmail.com \
    --cc=edubezval@gmail.com \
    --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).