summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-23 12:24:32 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-05-23 12:24:32 +0900
commitddd43b063d16cdeffbc18f00b72c112f246fae78 (patch)
tree274d1990d18f4afc7e9b49bad25bb2f76e1b3ed4 /arch
parentcdb7532f7be35c3675b1aed54d10e378014618b6 (diff)
downloadop-kernel-dev-ddd43b063d16cdeffbc18f00b72c112f246fae78.zip
op-kernel-dev-ddd43b063d16cdeffbc18f00b72c112f246fae78.tar.gz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/kernel/timers/timer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/kernel/timers/timer.c b/arch/sh/kernel/timers/timer.c
index a6bcc91..4e7e747 100644
--- 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;
}
-
OpenPOWER on IntegriCloud