summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2017-03-02 18:10:10 +0000
committerChanwoo Choi <cw00.choi@samsung.com>2017-03-22 18:29:46 +0900
commit059c7874b87575e48d2c7702849ff56017059195 (patch)
tree921450a0c1ef11361e04f00da69efe2f0965e8e7 /drivers
parent8cb2cbae45ae46b1e1be16950670d5c5d4408474 (diff)
downloadlinux-stable-059c7874b87575e48d2c7702849ff56017059195.tar.gz
linux-stable-059c7874b87575e48d2c7702849ff56017059195.tar.bz2
linux-stable-059c7874b87575e48d2c7702849ff56017059195.zip
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 <pbrobinson@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/extcon/Kconfig2
1 files changed, 1 insertions, 1 deletions
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.