summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-emev2.c
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2013-12-27 12:14:08 +0900
committerSimon Horman <horms+renesas@verge.net.au>2014-02-04 10:24:28 +0900
commitd24d1780c340777942061ef3445edcf228e8d35b (patch)
treeea0d2c4e2440da7ccb82920ee0f22b3339b6c3c5 /arch/arm/mach-shmobile/setup-emev2.c
parentd690f4681ceddeb3f077c661a19af0b8e0411ae7 (diff)
downloadblackbird-obmc-linux-d24d1780c340777942061ef3445edcf228e8d35b.tar.gz
blackbird-obmc-linux-d24d1780c340777942061ef3445edcf228e8d35b.zip
ARM: shmobile: emev2: Use __initconst for const init definition
__initconst must be used instead of __initdata for const init definitions. This problem was introduced by 3d5de27174955702 ("mach-shmobile: Emma Mobile EV2 DT support V3") in v3.4-rc7. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-emev2.c')
-rw-r--r--arch/arm/mach-shmobile/setup-emev2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c
index c8f2a1a69a52..c71d667007b8 100644
--- a/arch/arm/mach-shmobile/setup-emev2.c
+++ b/arch/arm/mach-shmobile/setup-emev2.c
@@ -58,7 +58,7 @@ static void __init emev2_add_standard_devices_dt(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
-static const char *emev2_boards_compat_dt[] __initdata = {
+static const char *emev2_boards_compat_dt[] __initconst = {
"renesas,emev2",
NULL,
};
OpenPOWER on IntegriCloud