projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c3b240
)
clk: prima2: Fix incorrect placement of __initdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 8 Aug 2013 04:31:26 +0000
(10:01 +0530)
committer
Mike Turquette
<mturquette@linaro.org>
Fri, 9 Aug 2013 05:35:21 +0000
(22:35 -0700)
__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>
drivers/clk/clk-prima2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/clk-prima2.c
b/drivers/clk/clk-prima2.c
index 643ca653fef026b2de60235a1ef401e67c88148a..5ab95f1ad579288c516dc782b14a2b5a871ad7dc 100644
(file)
--- a/
drivers/clk/clk-prima2.c
+++ b/
drivers/clk/clk-prima2.c
@@
-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,