Skip to contentSkip to conversation

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

PATCH Applied Peter Robinson 2 participants 2 messages Mar 2, 2017 – Mar 6, 2017 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: int3496: add dependency on X86 as it's Intel specific

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.

---
 drivers/extcon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/Kconfig +1 -1
index 96bbae5..fc09c76 100644
@@ -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.
Signature · 1 line
2.9.3
maintainer Applied
#1 lore raw
Quoted 14 lines · 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.

---
 drivers/extcon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/Kconfig +0 -0
index 96bbae5..fc09c76 100644

drivers/extcon/Kconfig config EXTCON_GPIO · line 50

Quoted 8 lines
drivers/extcon/Kconfig +1 -1
@@ -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.

Signature · 3 lines
Best Regards,
Chanwoo Choi
Samsung Electronics