[PATCH] ARM: STMP3xxx: bugfixed propagate_rate definition

derkling at gmail.com derkling at gmail.com
Tue Oct 27 06:06:39 EDT 2009


From: Patrick Bellasi <derkling at gmail.com>

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 <derkling at gmail.com>
---
 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




More information about the linux-arm-kernel mailing list