浏览代码

clk: prima2: 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 年之前
父节点
当前提交
18f5863e3b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/clk/clk-prima2.c

+ 1 - 1
drivers/clk/clk-prima2.c

@@ -1034,7 +1034,7 @@ enum prima2_clk_index {
 	usb0,  usb1,  maxclk,
 	usb0,  usb1,  maxclk,
 };
 };
 
 
-static __initdata struct clk_hw* prima2_clk_hw_array[maxclk] = {
+static struct clk_hw *prima2_clk_hw_array[maxclk] __initdata = {
 	NULL, /* dummy */
 	NULL, /* dummy */
 	NULL,
 	NULL,
 	&clk_pll1.hw,
 	&clk_pll1.hw,