* [PATCH] spi: atmel_spi: fix duplicate const warning
@ 2018-09-25 10:59 Ladislav Michl
2018-09-26 6:56 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2018-09-25 10:59 UTC (permalink / raw)
To: barebox
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
drivers/spi/atmel_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] spi: atmel_spi: fix duplicate const warning
2018-09-25 10:59 [PATCH] spi: atmel_spi: fix duplicate const warning Ladislav Michl
@ 2018-09-26 6:56 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-09-26 6:56 UTC (permalink / raw)
To: Ladislav Michl; +Cc: barebox
On Tue, Sep 25, 2018 at 12:59:14PM +0200, Ladislav Michl wrote:
> Signed-off-by: Ladislav Michl <ladis@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@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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-26 6:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 10:59 [PATCH] spi: atmel_spi: fix duplicate const warning Ladislav Michl
2018-09-26 6:56 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox