From: Peter Robinson Date: Tue, 4 Jul 2017 06:49:47 +0000 (+0100) Subject: pinctrl: intel: wrap Intel pin control drivers in an architecture check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29ddbb8101b267b3b8b4a8708bf228fc4c182df6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Heikki Krogerus Acked-by: Mika Westerberg Signed-off-by: Linus Walleij --- 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