ARM: shmobile: koelsch: Annotate clk_names with __initconst
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 13 Mar 2014 06:29:57 +0000 (15:29 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:23:32 +0000 (09:23 +0900)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
(cherry picked from commit f6f98b3e44ea408e33eb4d695a4225cc11210cdb)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-koelsch-reference.c

index a760f7f..1e6a436 100644 (file)
@@ -85,7 +85,7 @@ static void __init koelsch_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" },