From: Peter Robinson Date: Thu, 2 Mar 2017 18:10:10 +0000 (+0000) Subject: extcon: int3496: Add dependency on X86 as it's Intel specific X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=059c7874b87575e48d2c7702849ff56017059195;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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. Signed-off-by: Peter Robinson Signed-off-by: Chanwoo Choi --- diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig index 96bbae579c0b..fc09c76248b4 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.