projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b5670
)
ARM: SAMSUNG: Fix bad use of __initdata for s3c_register_clocks()
author
Ben Dooks
<ben-linux@fluff.org>
Mon, 25 Jan 2010 01:39:23 +0000
(10:39 +0900)
committer
Ben Dooks
<ben-linux@fluff.org>
Tue, 26 Jan 2010 00:50:04 +0000
(09:50 +0900)
Functions should be marked __init, not __initdata.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-samsung/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-samsung/clock.c
b/arch/arm/plat-samsung/clock.c
index 0c746ae7b2a6345a8b1974cabdcf74a2ef9f4ffc..e9cdbe47beb63e82aab0ba0b40b31f3056924ccb 100644
(file)
--- a/
arch/arm/plat-samsung/clock.c
+++ b/
arch/arm/plat-samsung/clock.c
@@
-344,7
+344,7
@@
int s3c24xx_register_clocks(struct clk **clks, int nr_clks)
* Call s3c24xx_register_clock() on the @clkp array given, printing an
* error if it fails to register the clock (unlikely).
*/
-void __init
data
s3c_register_clocks(struct clk *clkp, int nr_clks)
+void __init s3c_register_clocks(struct clk *clkp, int nr_clks)
{
int ret;