pinctrl: intel: wrap Intel pin control drivers in an architecture check
authorPeter Robinson <pbrobinson@gmail.com>
Tue, 4 Jul 2017 06:49:47 +0000 (07:49 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:02 +0000 (15:01 +0200)
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>
drivers/pinctrl/intel/Kconfig

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