Browse Source

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>
Simon Horman 11 years ago
parent
commit
f71c77286b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-shmobile/board-lager-reference.c

+ 1 - 1
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" },