Skip to content

Commit

Permalink
x86: make early_console static in early_printk.c
Browse files Browse the repository at this point in the history
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 <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Harvey Harrison authored and Ingo Molnar committed Feb 1, 2008
1 parent 9347e0b commit bb0e129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
Expand Down

0 comments on commit bb0e129

Please sign in to comment.