Skip to content

Commit

Permalink
ARC: [arcfpga] Fix __initconst data const-correctness
Browse files Browse the repository at this point in the history
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Mischa Jonker authored and Vineet Gupta committed Mar 26, 2014
1 parent b098d67 commit 18bff65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arc/plat-arcfpga/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static void __init plat_fpga_populate_dev(void)
* callback set, by matching the DT compatible name.
*/

static const char *aa4_compat[] __initdata = {
static const char *aa4_compat[] __initconst = {
"snps,arc-angel4",
NULL,
};
Expand All @@ -216,7 +216,7 @@ MACHINE_START(ANGEL4, "angel4")
#endif
MACHINE_END

static const char *ml509_compat[] __initdata = {
static const char *ml509_compat[] __initconst = {
"snps,arc-ml509",
NULL,
};
Expand All @@ -231,7 +231,7 @@ MACHINE_START(ML509, "ml509")
#endif
MACHINE_END

static const char *nsimosci_compat[] __initdata = {
static const char *nsimosci_compat[] __initconst = {
"snps,nsimosci",
NULL,
};
Expand Down

0 comments on commit 18bff65

Please sign in to comment.