Re: [PATCH] spi: clps711x: Enable driver compilation with COMPILE_TEST

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

 



Wed, 26 Mar 2014 16:22:50 +0800 от Axel Lin <axel.lin@xxxxxxxxxx>:
> This helps increasing build testing coverage.
> This driver uses SYSCON APIs, so it needs to depend on MFD_SYSCON.
> 
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
> ---
>  drivers/spi/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 1ee6a54..78ca395 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -150,7 +150,8 @@ config SPI_BUTTERFLY
>  
>  config SPI_CLPS711X
>  	tristate "CLPS711X host SPI controller"
> -	depends on ARCH_CLPS711X
> +	depends on MFD_SYSCON
> +	depends on ARCH_CLPS711X || COMPILE_TEST
>  	help
>  	  This enables dedicated general purpose SPI/Microwire1-compatible
>  	  master mode interface (SSI1) for CLPS711X-based CPUs.
> -- 

MFD_SYSCON is selected by ARCH_CLPS711X and this symbol is
not needed for COMPILE_TEST, so I am do not agree with this patch.

---

��.n��������+%������w��{.n�����{����)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [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