Skip to contentSkip to conversation

spi: atmel_spi: fix duplicate const warning

PATCH Applied Ladislav Michl 2 participants 2 messages Sep 25, 2018 – Sep 26, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: atmel_spi: fix duplicate const warning

---
 drivers/spi/atmel_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/atmel_spi.c +1 -1
index 446e1d993..a0243be85 100644
@@ -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 */ }
 };
Signature · 7 lines
2.19.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 4 lines · Ladislav Michl
---
 drivers/spi/atmel_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

Quoted 23 lines
drivers/spi/atmel_spi.c +1 -1
index 446e1d993..a0243be85 100644
@@ -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 */ }
 };
Signature · 7 lines
2.19.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox