From: Peter Robinson Date: Sat, 20 May 2017 16:45:07 +0000 (+0100) Subject: extcon: qcom-spmi-misc: add dependency on ARCH_QCOM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a781a7d646ada7a69da4d2a804fe3405f2606b17;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Chanwoo Choi --- 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.