diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-22 23:24:32 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-22 23:24:32 -0400 |
commit | ddd43b063d16cdeffbc18f00b72c112f246fae78 (patch) | |
tree | 274d1990d18f4afc7e9b49bad25bb2f76e1b3ed4 | |
parent | cdb7532f7be35c3675b1aed54d10e378014618b6 (diff) |
sh: section mismatch fixes for system timer.
Fix up a couple of section mismatch warnings regarding sys_timer.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/timers/timer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/kernel/timers/timer.c b/arch/sh/kernel/timers/timer.c index a6bcc913d25e..4e7e747d1b69 100644 --- a/arch/sh/kernel/timers/timer.c +++ b/arch/sh/kernel/timers/timer.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/string.h> | 13 | #include <linux/string.h> |
14 | #include <asm/timer.h> | 14 | #include <asm/timer.h> |
15 | 15 | ||
16 | static struct sys_timer *sys_timers[] __initdata = { | 16 | static struct sys_timer *sys_timers[] = { |
17 | #ifdef CONFIG_SH_TMU | 17 | #ifdef CONFIG_SH_TMU |
18 | &tmu_timer, | 18 | &tmu_timer, |
19 | #endif | 19 | #endif |
@@ -26,7 +26,7 @@ static struct sys_timer *sys_timers[] __initdata = { | |||
26 | NULL, | 26 | NULL, |
27 | }; | 27 | }; |
28 | 28 | ||
29 | static char timer_override[10] __initdata; | 29 | static char timer_override[10]; |
30 | static int __init timer_setup(char *str) | 30 | static int __init timer_setup(char *str) |
31 | { | 31 | { |
32 | if (str) | 32 | if (str) |
@@ -53,4 +53,3 @@ struct sys_timer *get_sys_timer(void) | |||
53 | 53 | ||
54 | return NULL; | 54 | return NULL; |
55 | } | 55 | } |
56 | |||