* [PATCH] thermal: ensure SoC thermal drivers depend on associated SoC
@ 2015-12-27 16:53 Peter Robinson
0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2015-12-27 16:53 UTC (permalink / raw)
To: Zhang Rui, Eduardo Valentin, linux-pm; +Cc: Peter Robinson
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-27 16:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-27 16:53 [PATCH] thermal: ensure SoC thermal drivers depend on associated SoC Peter Robinson
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).