Skip to contentSkip to conversation

extcon: qcom-spmi-misc: add dependency on ARCH_QCOM

PATCH Applied Peter Robinson 2 participants 2 messages May 20, 2017 – May 23, 2017 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: qcom-spmi-misc: add dependency on ARCH_QCOM

Depend on the architecture the device actuall is in, also add dep on the compile test to ensure continued coverage.

---
 drivers/extcon/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/extcon/Kconfig +1 -0
index 32f2dc8e4702..6d50071f07d5 100644
@@ -115,6 +115,7 @@ config EXTCON_PALMAS
 
 config EXTCON_QCOM_SPMI_MISC
 	tristate "Qualcomm USB extcon support"
+	depends on ARCH_QCOM || COMPILE_TEST
 	help
 	  Say Y here to enable SPMI PMIC based USB cable detection
 	  support on Qualcomm PMICs such as PM8941.
Signature · 1 line
2.13.0
maintainer Applied
#1 lore raw
Quoted 14 lines · Peter Robinson

Depend on the architecture the device actuall is in, also add dep on the compile test to ensure continued coverage.

---
 drivers/extcon/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/extcon/Kconfig +0 -0
index 32f2dc8e4702..6d50071f07d5 100644

drivers/extcon/Kconfig config EXTCON_PALMAS · line 121

Quoted 7 lines
drivers/extcon/Kconfig +1 -0
@@ -115,6 +115,7 @@ config EXTCON_PALMAS
 
 config EXTCON_QCOM_SPMI_MISC
 	tristate "Qualcomm USB extcon support"
+	depends on ARCH_QCOM || COMPILE_TEST
 	help
 	  Say Y here to enable SPMI PMIC based USB cable detection
 	  support on Qualcomm PMICs such as PM8941.

Applied it. Thanks.

Signature · 3 lines
Best Regards,
Chanwoo Choi
Samsung Electronics