提交 18bff65e 编写于 作者: M Mischa Jonker 提交者: Vineet Gupta

ARC: [arcfpga] Fix __initconst data const-correctness

Signed-off-by: NMischa Jonker <mjonker@synopsys.com>
Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
上级 b098d672
...@@ -201,7 +201,7 @@ static void __init plat_fpga_populate_dev(void) ...@@ -201,7 +201,7 @@ static void __init plat_fpga_populate_dev(void)
* callback set, by matching the DT compatible name. * callback set, by matching the DT compatible name.
*/ */
static const char *aa4_compat[] __initdata = { static const char *aa4_compat[] __initconst = {
"snps,arc-angel4", "snps,arc-angel4",
NULL, NULL,
}; };
...@@ -216,7 +216,7 @@ MACHINE_START(ANGEL4, "angel4") ...@@ -216,7 +216,7 @@ MACHINE_START(ANGEL4, "angel4")
#endif #endif
MACHINE_END MACHINE_END
static const char *ml509_compat[] __initdata = { static const char *ml509_compat[] __initconst = {
"snps,arc-ml509", "snps,arc-ml509",
NULL, NULL,
}; };
...@@ -231,7 +231,7 @@ MACHINE_START(ML509, "ml509") ...@@ -231,7 +231,7 @@ MACHINE_START(ML509, "ml509")
#endif #endif
MACHINE_END MACHINE_END
static const char *nsimosci_compat[] __initdata = { static const char *nsimosci_compat[] __initconst = {
"snps,nsimosci", "snps,nsimosci",
NULL, NULL,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册