瀏覽代碼

pinctrl: intel: wrap Intel pin control drivers in an architecture check

The Intel pin control drivers are architecture specific so add an if arch
to check for X86 or compile test to ensure continued test coverage.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Peter Robinson 8 年之前
父節點
當前提交
29ddbb8101
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      drivers/pinctrl/intel/Kconfig

+ 3 - 0
drivers/pinctrl/intel/Kconfig

@@ -1,6 +1,7 @@
 #
 #
 # Intel pin control drivers
 # Intel pin control drivers
 #
 #
+if (X86 || COMPILE_TEST)
 
 
 config PINCTRL_BAYTRAIL
 config PINCTRL_BAYTRAIL
 	bool "Intel Baytrail GPIO pin control"
 	bool "Intel Baytrail GPIO pin control"
@@ -80,3 +81,5 @@ config PINCTRL_SUNRISEPOINT
 	  Sunrisepoint is the PCH of Intel Skylake. This pinctrl driver
 	  Sunrisepoint is the PCH of Intel Skylake. This pinctrl driver
 	  provides an interface that allows configuring of PCH pins and
 	  provides an interface that allows configuring of PCH pins and
 	  using them as GPIOs.
 	  using them as GPIOs.
+
+endif