clk: prima2: Fix incorrect placement of __initdata
PATCH 1/1 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 <[email protected]>
--- drivers/clk/clk-prima2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-prima2.c +1 -1
@@ -1034,7 +1034,7 @@ enum prima2_clk_index { 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 , &clk_pll1.hw,
Signature · 1 line
1.7.9.5
PATCH 1/1 clk: prima2: Fix incorrect placement of __initdata
Quoting Sachin Kamat (2013-08-07 21:31:26)
Quoted 4 lines
__initdatashould be placed between the variable name and equal sign for the variable to be placed in the intended section.Signed-off-by Sachin Kamat <[email protected]>
Taken into clk-next.
Thanks,
Mike
Quoted 19 lines
--- drivers/clk/clk-prima2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/clk-prima2.c +1
-1@@ -1034,7 +1034,7 @@ enum prima2_clk_index { 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 , &clk_pll1.hw,Signature · 1 line
1.7.9.5