mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [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

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