From: Simon Horman <horms+renesas@verge.net.au> To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: shmobile: emev2: Use __initconst for const init definition Date: Thu, 06 Feb 2014 06:20:09 +0000 [thread overview] Message-ID: <d24d1780c340777942061ef3445edcf228e8d35b.1391650702.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1391650702.git.horms+renesas@verge.net.au> __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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c index c8f2a1a..c71d667 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, }; -- 1.8.5.2
WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: shmobile: emev2: Use __initconst for const init definition Date: Thu, 6 Feb 2014 15:20:09 +0900 [thread overview] Message-ID: <d24d1780c340777942061ef3445edcf228e8d35b.1391650702.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1391650702.git.horms+renesas@verge.net.au> __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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c index c8f2a1a..c71d667 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, }; -- 1.8.5.2
next prev parent reply other threads:[~2014-02-06 6:20 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-01 2:28 [GIT PULL 0/3] Renesas ARM based SoC cleanups for v3.13 Simon Horman 2013-10-01 2:28 ` Simon Horman 2013-10-01 2:28 ` [PATCH 1/3] ARM: shmobile: Rename to r8a73a4_init_early() Simon Horman 2013-10-01 2:28 ` Simon Horman 2013-10-01 2:28 ` [PATCH 2/3] ARM: shmobile: Rename to r8a7790_init_early() Simon Horman 2013-10-01 2:28 ` Simon Horman 2013-10-01 2:28 ` [PATCH 3/3] ARM: shmobile: r8a7790: Constify platform data and resources Simon Horman 2013-10-01 2:28 ` Simon Horman 2013-10-07 17:56 ` [GIT PULL 0/3] Renesas ARM based SoC cleanups for v3.13 Olof Johansson 2013-10-07 17:56 ` Olof Johansson 2014-02-06 6:20 ` [GIT PULL 0/3] Renesas ARM Based SoC Clean-Ups for v3.15 Simon Horman 2014-02-06 6:20 ` Simon Horman 2014-02-06 6:20 ` [PATCH 1/3] ARM: shmobile: Remove duplicate shmobile_invalidate_start() declaration Simon Horman 2014-02-06 6:20 ` Simon Horman 2014-02-06 6:20 ` [PATCH 2/3] ARM: shmobile: r8a7779: Remove unused clock constants Simon Horman 2014-02-06 6:20 ` Simon Horman 2014-02-06 6:20 ` Simon Horman [this message] 2014-02-06 6:20 ` [PATCH 3/3] ARM: shmobile: emev2: Use __initconst for const init definition Simon Horman 2014-02-20 8:25 ` [GIT PULL 0/3] Renesas ARM Based SoC Clean-Ups for v3.15 Olof Johansson 2014-02-20 8:25 ` Olof Johansson
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=d24d1780c340777942061ef3445edcf228e8d35b.1391650702.git.horms+renesas@verge.net.au \ --to=horms+renesas@verge.net.au \ --cc=linux-arm-kernel@lists.infradead.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.