[PATCH] mtd: spi-nor: stm32-quadspi: allow building with COMPILE_TEST

Cyrille Pitchen cyrille.pitchen at wedev4u.fr
Wed May 3 13:53:12 PDT 2017


Hi Brian,

Le 02/05/2017 à 03:13, Brian Norris a écrit :
> Cc: Ludovic Barre <ludovic.barre at st.com>
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>

Acked-by: Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>

Do you want me to take it into the github/spi-nor tree or do you want to
take it directly in the l2-mtd.git tree for 4.12 ?

Best regards,

Cyrille

> ---
>  drivers/mtd/spi-nor/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
> index bfdfb1e72b38..293c8a4d1e49 100644
> --- a/drivers/mtd/spi-nor/Kconfig
> +++ b/drivers/mtd/spi-nor/Kconfig
> @@ -108,7 +108,7 @@ config SPI_INTEL_SPI_PLATFORM
>  
>  config SPI_STM32_QUADSPI
>  	tristate "STM32 Quad SPI controller"
> -	depends on ARCH_STM32
> +	depends on ARCH_STM32 || COMPILE_TEST
>  	help
>  	  This enables support for the STM32 Quad SPI controller.
>  	  We only connect the NOR to this controller.
> 




More information about the linux-mtd mailing list