2007-02-09 15:34:42

by Alon Bar-Lev

[permalink] [raw]
Subject: [PATCH 15/34] __initdata cleanup - sh


Trivial.

Signed-off-by: Alon Bar-Lev <[email protected]>
Signed-off-by: Bernhard Walle <[email protected]>

---

diff -urNp linux-2.6.20-rc6-mm3.org/arch/sh/kernel/early_printk.c linux-2.6.20-rc6-mm3/arch/sh/kernel/early_printk.c
--- linux-2.6.20-rc6-mm3.org/arch/sh/kernel/early_printk.c 2007-01-31 22:15:32.000000000 +0200
+++ linux-2.6.20-rc6-mm3/arch/sh/kernel/early_printk.c 2007-01-31 22:19:30.000000000 +0200
@@ -163,7 +163,7 @@ static struct console *early_console =
#endif
;

-static int __initdata keep_early;
+static int __initdata keep_early = 0;
static int early_console_initialized;

int __init setup_early_printk(char *buf)
diff -urNp linux-2.6.20-rc6-mm3.org/arch/sh/kernel/timers/timer.c linux-2.6.20-rc6-mm3/arch/sh/kernel/timers/timer.c
--- linux-2.6.20-rc6-mm3.org/arch/sh/kernel/timers/timer.c 2007-01-25 04:19:28.000000000 +0200
+++ linux-2.6.20-rc6-mm3/arch/sh/kernel/timers/timer.c 2007-01-31 22:19:30.000000000 +0200
@@ -26,7 +26,7 @@ static struct sys_timer *sys_timers[] __
NULL,
};

-static char timer_override[10] __initdata;
+static char timer_override[10] __initdata = {0};
static int __init timer_setup(char *str)
{
if (str)