Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1591560 > unrolled thread

[PATCH] extcon: int3496: add dependency on X86 as it's Intel specific

Started byPeter Robinson <pbrobinson@gmail.com>
First post2017-03-03 01:00 +0100
Last post2017-03-06 08:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific Peter Robinson <pbrobinson@gmail.com> - 2017-03-03 01:00 +0100
    Re: [PATCH] extcon: int3496: add dependency on X86 as it's Intel  specific Chanwoo Choi <cw00.choi@samsung.com> - 2017-03-06 08:10 +0100

#1591560 — [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific

FromPeter Robinson <pbrobinson@gmail.com>
Date2017-03-03 01:00 +0100
Subject[PATCH] extcon: int3496: add dependency on X86 as it's Intel specific
Message-ID<tgINz-13L-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1592962 — Re: [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific

FromChanwoo Choi <cw00.choi@samsung.com>
Date2017-03-06 08:10 +0100
SubjectRe: [PATCH] extcon: int3496: add dependency on X86 as it's Intel specific
Message-ID<thUWm-4mz-13@gated-at.bofh.it>
In reply to#1591560
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web