From: Harvey Harrison Date: Fri, 1 Feb 2008 16:49:42 +0000 (+0100) Subject: x86: make early_console static in early_printk.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bb0e1290876a534d542f624cd549dab90cc767c4;p=linux-beck.git x86: make early_console static in early_printk.c Not necessary to expose it, also fixes sparse warning. arch/x86/kernel/early_printk.c:196:16: warning: symbol 'early_console' was not declared. Should it be static? Signed-off-by: Harvey Harrison Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/early_printk.c b/arch/x86/kernel/early_printk.c index b7d6c23f2871..cff84cd9987f 100644 --- a/arch/x86/kernel/early_printk.c +++ b/arch/x86/kernel/early_printk.c @@ -193,7 +193,7 @@ static struct console simnow_console = { }; /* Direct interface for emergencies */ -struct console *early_console = &early_vga_console; +static struct console *early_console = &early_vga_console; static int early_console_initialized = 0; void early_printk(const char *fmt, ...)