summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2018-09-25 12:59:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-09-26 08:56:35 +0200
commit9cfd8c2be3ec77db0164f5ba23ee221c184c1b93 (patch)
tree022d08ca2d9bab6b1e583bcc505cac7a14fcf339
parent6f9fd8b283962b017d869bc93cd3b9188d83a777 (diff)
downloadbarebox-9cfd8c2be3ec77db0164f5ba23ee221c184c1b93.tar.gz
barebox-9cfd8c2be3ec77db0164f5ba23ee221c184c1b93.tar.xz
spi: atmel_spi: fix duplicate const warning
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/spi/atmel_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c
index 446e1d9932..a0243be858 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 */ }
};