linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] extcon: qcom-spmi-misc: add dependency on ARCH_QCOM
@ 2017-05-20 16:45 ` Peter Robinson
  2017-05-23  9:36   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2017-05-20 16:45 UTC (permalink / raw)
  To: MyungJoo Ham, Chanwoo Choi, linux-kernel; +Cc: Peter Robinson

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] extcon: qcom-spmi-misc: add dependency on ARCH_QCOM
  2017-05-20 16:45 ` [PATCH] extcon: qcom-spmi-misc: add dependency on ARCH_QCOM Peter Robinson
@ 2017-05-23  9:36   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2017-05-23  9:36 UTC (permalink / raw)
  To: Peter Robinson, MyungJoo Ham, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-23  9:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170520184235epcas3p47cf96cde37eab0aefcf1f622da802b56@epcas3p4.samsung.com>
2017-05-20 16:45 ` [PATCH] extcon: qcom-spmi-misc: add dependency on ARCH_QCOM Peter Robinson
2017-05-23  9:36   ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).