Re: [PATCH 1/2] pinctrl: intel: on enable on x86 arches and COMPILE_TEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 27, 2015 at 12:22:51PM +0000, Peter Robinson wrote:
> If you select CONFIG_PINCTR for another unrelated architecture
> you need to set all the Intel pinctrl options even though they're not
> required. Mask them if not required.
> 
> Signed-off-by: Peter Robinson <pbrobinson@xxxxxxxxx>
> ---
>  drivers/pinctrl/intel/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/pinctrl/intel/Kconfig b/drivers/pinctrl/intel/Kconfig
> index 4d2efad..68fa13a 100644
> --- a/drivers/pinctrl/intel/Kconfig
> +++ b/drivers/pinctrl/intel/Kconfig
> @@ -2,6 +2,8 @@
>  # Intel pin control drivers
>  #
>  
> +if X86_GENERIC || COMPILE_TEST
> +
>  config PINCTRL_BAYTRAIL
>  	bool "Intel Baytrail GPIO pin control"
>  	depends on GPIOLIB && ACPI

All of them already depend on CONFIG_ACPI so if your unrelated
architecture does not provide that then you should not see any of these.

> @@ -50,3 +52,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
> -- 
> 2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux