Skip to contentSkip to conversation

thermal: ensure SoC thermal drivers depend on associated SoC

PATCH New Peter Robinson 1 participant 1 message Dec 27, 2015 Thermal

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal: ensure SoC thermal drivers depend on associated SoC

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.

---
 drivers/thermal/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/thermal/Kconfig +2 -0
index 8cc4ac6..2d33f8d 100644
@@ -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
Signature · 1 line
2.5.0