]> git.itanic.dy.fi Git - linux-stable/commitdiff
extcon: qcom-spmi-misc: add dependency on ARCH_QCOM
authorPeter Robinson <pbrobinson@gmail.com>
Sat, 20 May 2017 16:45:07 +0000 (17:45 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 23 May 2017 09:35:42 +0000 (18:35 +0900)
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>
drivers/extcon/Kconfig

index 32f2dc8e4702c85cfa875d981b008d3b11a254be..6d50071f07d554d3b99ab9e6c2948fa079de6ab7 100644 (file)
@@ -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.