Browse Source

clk: s3c64xx: Fix incorrect placement of __initdata

__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Sachin Kamat 12 years ago
parent
commit
5b0dde99e8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/clk/samsung/clk-s3c64xx.c

+ 2 - 2
drivers/clk/samsung/clk-s3c64xx.c

@@ -65,7 +65,7 @@ enum s3c64xx_plls {
  * List of controller registers to be saved and restored during
  * a suspend/resume cycle.
  */
-static __initdata unsigned long s3c64xx_clk_regs[] = {
+static unsigned long s3c64xx_clk_regs[] __initdata = {
 	APLL_LOCK,
 	MPLL_LOCK,
 	EPLL_LOCK,
@@ -82,7 +82,7 @@ static __initdata unsigned long s3c64xx_clk_regs[] = {
 	SCLK_GATE,
 };
 
-static __initdata unsigned long s3c6410_clk_regs[] = {
+static unsigned long s3c6410_clk_regs[] __initdata = {
 	CLK_SRC2,
 	MEM0_GATE,
 };