Wed, 26 Mar 2014 16:22:50 +0800 от Axel Lin <[email protected]>:
> This helps increasing build testing coverage.
> This driver uses SYSCON APIs, so it needs to depend on MFD_SYSCON.
> 
> Signed-off-by: Axel Lin <[email protected]>
> ---
>  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.

---

Reply via email to