OMAP1 clock: fix section mismatch on clk_init
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 20 May 2010 18:31:04 +0000 (12:31 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:04 +0000 (12:31 -0600)
remove the section annotation from omap1_clk_disable_unused()
to kill the section mismatch warning.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap1/clock.h

index e0aec1007a0de0bf02f7777e1dae6acd211e1e94..6bbb1b8b82947776845bc4e7f9ece576995a42d4 100644 (file)
@@ -578,7 +578,7 @@ int omap1_clk_set_rate(struct clk *clk, unsigned long rate)
 
 #ifdef CONFIG_OMAP_RESET_CLOCKS
 
-void __init omap1_clk_disable_unused(struct clk *clk)
+void omap1_clk_disable_unused(struct clk *clk)
 {
        __u32 regval32;
 
index a4190afb86140774ef4b7661544bd971c4282e6a..75d0d7d90bff6b08fbd6e5d6ff8e8496a5680d96 100644 (file)
@@ -39,7 +39,7 @@ extern long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate);
 extern unsigned long omap1_watchdog_recalc(struct clk *clk);
 
 #ifdef CONFIG_OMAP_RESET_CLOCKS
-extern void __init omap1_clk_disable_unused(struct clk *clk);
+extern void omap1_clk_disable_unused(struct clk *clk);
 #else
 #define omap1_clk_disable_unused       NULL
 #endif