summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2017-05-20 17:45:07 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2017-05-23 18:35:42 +0900
commita781a7d646ada7a69da4d2a804fe3405f2606b17 (patch)
tree6c9c4ebf01579c697278418526f4996a768d2b4d /drivers/extcon
parentcf5459a9e2f3033bf16773ef5fc32ad0243a513b (diff)
downloadlinux-a781a7d646ada7a69da4d2a804fe3405f2606b17.tar.gz
linux-a781a7d646ada7a69da4d2a804fe3405f2606b17.tar.bz2
linux-a781a7d646ada7a69da4d2a804fe3405f2606b17.zip
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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index 32f2dc8e4702..6d50071f07d5 100644
--- a/drivers/extcon/Kconfig
+++ b/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.