linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific
@ 2017-03-02 18:10 ` Peter Robinson
  2017-03-06  6:48   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2017-03-02 18:10 UTC (permalink / raw)
  To: David Cohen, MyungJoo Ham, Chanwoo Choi, linux-kernel; +Cc: Peter Robinson

Add dependency on X86 so it doesn't show up on other arches and
add a option for compile test so it still gets build coverage.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/extcon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index 96bbae5..fc09c76 100644
--- a/drivers/extcon/Kconfig
+++ b/drivers/extcon/Kconfig
@@ -44,7 +44,7 @@ config EXTCON_GPIO
 
 config EXTCON_INTEL_INT3496
 	tristate "Intel INT3496 ACPI device extcon driver"
-	depends on GPIOLIB && ACPI
+	depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
 	help
 	  Say Y here to enable extcon support for USB OTG ports controlled by
 	  an Intel INT3496 ACPI device.
-- 
2.9.3

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

* Re: [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific
  2017-03-02 18:10 ` [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific Peter Robinson
@ 2017-03-06  6:48   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2017-03-06  6:48 UTC (permalink / raw)
  To: Peter Robinson, David Cohen, MyungJoo Ham, linux-kernel

On 2017년 03월 03일 03:10, Peter Robinson wrote:
> Add dependency on X86 so it doesn't show up on other arches and
> add a option for compile test so it still gets build coverage.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> ---
>  drivers/extcon/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
> index 96bbae5..fc09c76 100644
> --- a/drivers/extcon/Kconfig
> +++ b/drivers/extcon/Kconfig
> @@ -44,7 +44,7 @@ config EXTCON_GPIO
>  
>  config EXTCON_INTEL_INT3496
>  	tristate "Intel INT3496 ACPI device extcon driver"
> -	depends on GPIOLIB && ACPI
> +	depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
>  	help
>  	  Say Y here to enable extcon support for USB OTG ports controlled by
>  	  an Intel INT3496 ACPI device.
> 

Applied. Thanks.

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

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

end of thread, other threads:[~2017-03-06  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170302181017epcas5p10f8b20f6409917131bc961090cfb4a90@epcas5p1.samsung.com>
2017-03-02 18:10 ` [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific Peter Robinson
2017-03-06  6:48   ` 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).