ARM: uniphier: add const qualifier to constant array
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 16 Dec 2015 01:36:13 +0000 (10:36 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 22 Dec 2015 15:08:03 +0000 (00:08 +0900)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/ddrphy/ddrphy-training.c

index a98b814df07f343d145c0a2ef116311f0f7b452f..f1a2341d9cf12e9148fe69b16833175011ce2757 100644 (file)
@@ -44,7 +44,7 @@ struct ddrphy_init_sequence {
        u32 err_flag;
 };
 
-static struct ddrphy_init_sequence init_sequence[] = {
+static const struct ddrphy_init_sequence init_sequence[] = {
        {
                "DRAM Initialization",
                PIR_DRAMRST | PIR_DRAMINIT,