[PATCH] spi: atmel_spi: fix duplicate const warning

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 25 23:56:57 PDT 2018


On Tue, Sep 25, 2018 at 12:59:14PM +0200, Ladislav Michl wrote:
> Signed-off-by: Ladislav Michl <ladis at linux-mips.org>
> ---
>  drivers/spi/atmel_spi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c
> index 446e1d993..a0243be85 100644
> --- a/drivers/spi/atmel_spi.c
> +++ b/drivers/spi/atmel_spi.c
> @@ -482,7 +482,7 @@ out_free:
>  	return ret;
>  }
>  
> -const static __maybe_unused const struct of_device_id atmel_spi_dt_ids[] = {
> +const static __maybe_unused struct of_device_id atmel_spi_dt_ids[] = {
>  	{ .compatible = "atmel,at91rm9200-spi" },
>  	{ /* sentinel */ }
>  };
> -- 
> 2.19.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list