commit | d2621b82c2e8d2e37100797448143bf6ae88d89f | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu May 10 15:59:44 2012 +0200 |
committer | Andrew Lunn <andrew@lunn.ch> | Mon May 14 18:12:37 2012 +0200 |
tree | a02715af40497f6aec7e7829cafbf44d508cca6b | |
parent | 6ed272f245893f2278a9f5a59bacd857664c7d1f [diff] [blame] |
Orion5x: Fix Section mismatch warnings Wrongly placed __initdata, and missing __init caused these warnings. Signed-off-by: Andrew Lunn <andrew@lunn.ch>
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c index 2448166..e2e9db4 100644 --- a/arch/arm/mach-orion5x/common.c +++ b/arch/arm/mach-orion5x/common.c
@@ -205,7 +205,7 @@ return 166666667; } -static void orion5x_timer_init(void) +static void __init orion5x_timer_init(void) { orion5x_tclk = orion5x_find_tclk();