projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb7532
)
sh: section mismatch fixes for system timer.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 23 May 2007 03:24:32 +0000
(12:24 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 23 May 2007 03:24:32 +0000
(12:24 +0900)
Fix up a couple of section mismatch warnings regarding sys_timer.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/timers/timer.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/timers/timer.c
b/arch/sh/kernel/timers/timer.c
index
a6bcc91
..
4e7e747
100644
(file)
--- a/
arch/sh/kernel/timers/timer.c
+++ b/
arch/sh/kernel/timers/timer.c
@@
-13,7
+13,7
@@
#include <linux/string.h>
#include <asm/timer.h>
-static struct sys_timer *sys_timers[]
__initdata
= {
+static struct sys_timer *sys_timers[] = {
#ifdef CONFIG_SH_TMU
&tmu_timer,
#endif
@@
-26,7
+26,7
@@
static struct sys_timer *sys_timers[] __initdata = {
NULL,
};
-static char timer_override[10]
__initdata
;
+static char timer_override[10];
static int __init timer_setup(char *str)
{
if (str)
@@
-53,4
+53,3
@@
struct sys_timer *get_sys_timer(void)
return NULL;
}
-