ARM: shmobile: emev2: Use __initconst for const init definition
authorSimon Horman <horms+renesas@verge.net.au>
Fri, 27 Dec 2013 03:14:08 +0000 (12:14 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Feb 2014 01:24:28 +0000 (10:24 +0900)
__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>
arch/arm/mach-shmobile/setup-emev2.c

index c8f2a1a69a5274bec8eab99f44549fb3bbbae955..c71d667007b8e4e79811da67513ff3b06b6c38c4 100644 (file)
@@ -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,
 };
This page took 0.026064 seconds and 5 git commands to generate.