[PATCH] ARM: STMP3xxx: bugfixed propagate_rate definition

From
derkling at gmail.com <hidden>
Date
2009-10-27 10:06:39
From: Patrick Bellasi <redacted>

This patch remove the "__init" modifier from the definition of the
propagate_rate routine. Indeed this routine is used by the exported API
(e.g. clk_set_rate) and thus is needed at run-time.

Signed-off-by: Patrick Bellasi <redacted>
---
 arch/arm/plat-stmp3xxx/clock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-stmp3xxx/clock.c b/arch/arm/plat-stmp3xxx/clock.c
index 5d2f19a..5e64b55 100644
--- a/arch/arm/plat-stmp3xxx/clock.c
+++ b/arch/arm/plat-stmp3xxx/clock.c
@@ -925,7 +925,7 @@ static struct clk_lookup onchip_clks[] = {
 	},
 };
 
-static int __init propagate_rate(struct clk *clk)
+static int propagate_rate(struct clk *clk)
 {
 	struct clk_lookup *cl;
 
-- 
1.5.6.3
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help