summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-12-16 10:36:13 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-12-23 00:08:03 +0900
commita1c4bf8666ee170fa82528ac996b9dd472ed167f (patch)
tree6db90f8a975f06688bb7f1fa2babd54f4a4f6ea2
parentfc18be1271fd2a45c4cd6eb05246fcfd06906d19 (diff)
downloadu-boot-imx-a1c4bf8666ee170fa82528ac996b9dd472ed167f.zip
u-boot-imx-a1c4bf8666ee170fa82528ac996b9dd472ed167f.tar.gz
u-boot-imx-a1c4bf8666ee170fa82528ac996b9dd472ed167f.tar.bz2
ARM: uniphier: add const qualifier to constant array
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--arch/arm/mach-uniphier/ddrphy/ddrphy-training.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/ddrphy/ddrphy-training.c b/arch/arm/mach-uniphier/ddrphy/ddrphy-training.c
index a98b814..f1a2341 100644
--- a/arch/arm/mach-uniphier/ddrphy/ddrphy-training.c
+++ b/arch/arm/mach-uniphier/ddrphy/ddrphy-training.c
@@ -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,