From: Ben Dooks Date: Mon, 25 Jan 2010 01:39:23 +0000 (+0900) Subject: ARM: SAMSUNG: Fix bad use of __initdata for s3c_register_clocks() X-Git-Tag: v2.6.34-rc2~66^2~54^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ab5d97db1c6ced3e95c00d097931471707032b1f;p=karo-tx-linux.git ARM: SAMSUNG: Fix bad use of __initdata for s3c_register_clocks() Functions should be marked __init, not __initdata. Signed-off-by: Ben Dooks --- diff --git a/arch/arm/plat-samsung/clock.c b/arch/arm/plat-samsung/clock.c index 0c746ae7b2a6..e9cdbe47beb6 100644 --- 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 __initdata s3c_register_clocks(struct clk *clkp, int nr_clks) +void __init s3c_register_clocks(struct clk *clkp, int nr_clks) { int ret;