diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-01 17:49:42 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-01 17:49:42 +0100 |
commit | bb0e1290876a534d542f624cd549dab90cc767c4 (patch) | |
tree | 2cf1ebdb24a500dc4531ea59fffbf3773f74fc10 /arch/x86/kernel/early_printk.c | |
parent | 9347e0b0ce6255f4abef462d373577e7c8362fc6 (diff) | |
download | kernel_samsung_smdk4412-bb0e1290876a534d542f624cd549dab90cc767c4.tar.gz kernel_samsung_smdk4412-bb0e1290876a534d542f624cd549dab90cc767c4.tar.bz2 kernel_samsung_smdk4412-bb0e1290876a534d542f624cd549dab90cc767c4.zip |
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 <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/early_printk.c')
-rw-r--r-- | arch/x86/kernel/early_printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/early_printk.c b/arch/x86/kernel/early_printk.c index b7d6c23f287..cff84cd9987 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, ...) |