浏览代码

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>
Peter Robinson 8 年之前
父节点
当前提交
059c7874b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/extcon/Kconfig

+ 1 - 1
drivers/extcon/Kconfig

@@ -44,7 +44,7 @@ config EXTCON_GPIO
 
 
 config EXTCON_INTEL_INT3496
 config EXTCON_INTEL_INT3496
 	tristate "Intel INT3496 ACPI device extcon driver"
 	tristate "Intel INT3496 ACPI device extcon driver"
-	depends on GPIOLIB && ACPI
+	depends on GPIOLIB && ACPI && (X86 || COMPILE_TEST)
 	help
 	help
 	  Say Y here to enable extcon support for USB OTG ports controlled by
 	  Say Y here to enable extcon support for USB OTG ports controlled by
 	  an Intel INT3496 ACPI device.
 	  an Intel INT3496 ACPI device.