aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel/Kconfig
diff options
context:
space:
mode:
authorPeter Robinson2017-07-04 07:49:47 +0100
committerLinus Walleij2017-08-14 15:01:02 +0200
commit29ddbb8101b267b3b8b4a8708bf228fc4c182df6 (patch)
treeac0435d8ee28ed7540e5ab0bb2134c4c687fb001 /drivers/pinctrl/intel/Kconfig
parent48e43b3e895fc6115f3c525a33d91666e58aad14 (diff)
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>
Diffstat (limited to 'drivers/pinctrl/intel/Kconfig')
-rw-r--r--drivers/pinctrl/intel/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pinctrl/intel/Kconfig b/drivers/pinctrl/intel/Kconfig
index b82d6ff3116f..fc69a0ff37b5 100644
--- a/drivers/pinctrl/intel/Kconfig
+++ b/drivers/pinctrl/intel/Kconfig
@@ -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