Re: [PATCH] extcon: qcom-spmi-misc: add dependency on ARCH_QCOM
From: Chanwoo Choi
Date: Tue May 23 2017 - 05:41:23 EST
On 2017ë 05ì 21ì 01:45, Peter Robinson wrote:
> 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@xxxxxxxxx>
> ---
> drivers/extcon/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> 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.
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics