From: Simon Horman <horms+renesas@verge.net.au>
Date: Thu, 13 Mar 2014 06:29:58 +0000 (+0900)
Subject: ARM: shmobile: lager: Annotate clk_names with __initconst
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f71c77286b2c1f809a85e8e42df88eb2ec132e5f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ARM: shmobile: lager: Annotate clk_names with __initconst

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
---

diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c
index c76248b9a5e7..7ff395efa9fe 100644
--- a/arch/arm/mach-shmobile/board-lager-reference.c
+++ b/arch/arm/mach-shmobile/board-lager-reference.c
@@ -89,7 +89,7 @@ static void __init lager_add_du_device(void)
  * This is a really crude hack to provide clkdev support to platform
  * devices until they get moved to DT.
  */
-static const struct clk_name clk_names[] = {
+static const struct clk_name clk_names[] __initconst = {
 	{ "cmt0", NULL, "sh_cmt.0" },
 	{ "scifa0", NULL, "sh-sci.0" },
 	{ "scifa1", NULL, "sh-sci.1" },