Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29ddbb81 authored by Peter Robinson's avatar Peter Robinson Committed by Linus Walleij
Browse files

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: default avatarPeter Robinson <pbrobinson@gmail.com>
Reviewed-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 48e43b3e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
#
# 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