[U-Boot] [PATCH] ARM: uniphier: add const qualifier to constant array

Masahiro Yamada yamada.masahiro at socionext.com
Wed Dec 16 02:36:13 CET 2015


Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/mach-uniphier/ddrphy/ddrphy-training.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
-- 
1.9.1



More information about the U-Boot mailing list