Skip to contentSkip to conversation

ARM: STMP3xxx: bugfixed propagate_rate definition

PATCH New derkling at gmail.com 1 participant 1 message Oct 27, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: STMP3xxx: bugfixed propagate_rate definition

From: Patrick Bellasi <[email protected]>

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.

---
 arch/arm/plat-stmp3xxx/clock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-stmp3xxx/clock.c +1 -1
index 5d2f19a..5e64b55 100644
@@ -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;
 
Signature · 1 line
1.5.6.3