aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorMischa Jonker <mjonker@synopsys.com>2014-01-27 09:34:17 -0500
committerVineet Gupta <vgupta@synopsys.com>2014-03-26 05:01:25 -0400
commit18bff65e371ddc73578bba1dc5549e59ddb0dddd (patch)
treec4ad50873d0cae02099909e73d886a9679dc3b2c /arch/arc
parentb098d6726bbfb94c06d6e1097466187afddae61f (diff)
ARC: [arcfpga] Fix __initconst data const-correctness
Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/plat-arcfpga/platform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/plat-arcfpga/platform.c b/arch/arc/plat-arcfpga/platform.c
index d71f3c3bcf24..19b76b61f44b 100644
--- a/arch/arc/plat-arcfpga/platform.c
+++ b/arch/arc/plat-arcfpga/platform.c
@@ -201,7 +201,7 @@ static void __init plat_fpga_populate_dev(void)
201 * callback set, by matching the DT compatible name. 201 * callback set, by matching the DT compatible name.
202 */ 202 */
203 203
204static const char *aa4_compat[] __initdata = { 204static const char *aa4_compat[] __initconst = {
205 "snps,arc-angel4", 205 "snps,arc-angel4",
206 NULL, 206 NULL,
207}; 207};
@@ -216,7 +216,7 @@ MACHINE_START(ANGEL4, "angel4")
216#endif 216#endif
217MACHINE_END 217MACHINE_END
218 218
219static const char *ml509_compat[] __initdata = { 219static const char *ml509_compat[] __initconst = {
220 "snps,arc-ml509", 220 "snps,arc-ml509",
221 NULL, 221 NULL,
222}; 222};
@@ -231,7 +231,7 @@ MACHINE_START(ML509, "ml509")
231#endif 231#endif
232MACHINE_END 232MACHINE_END
233 233
234static const char *nsimosci_compat[] __initdata = { 234static const char *nsimosci_compat[] __initconst = {
235 "snps,nsimosci", 235 "snps,nsimosci",
236 NULL, 236 NULL,
237}; 237};