Browse Source

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.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Peter Robinson 8 years ago
parent
commit
a781a7d646
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/extcon/Kconfig

+ 1 - 0
drivers/extcon/Kconfig

@@ -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.