x86: make early_console static in early_printk.c
PATCH 1/1 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 <[email protected]>
--- arch/x86/kernel/early_printk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/early_printk.c +1 -1
@@ -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, ...)
Signature · 1 line
1.5.4.rc4.1142.gf5a97
Ingo Molnar
Appliedarch/x86/kernel/early_printk.c static struct console simnow_console = { · line 196
Quoted 3 lines · Harvey Harrison
/* Direct interface for emergencies */
arch/x86/kernel/early_printk.c +1
-1-struct console *early_console = &early_vga_console; +static struct console *early_console = &early_vga_console;
thanks, applied.
Ingo