i386/x86_64 early_printk.c: make two variables static
PATCH 1/1 i386/x86_64 early_printk.c: make two variables static
The patch below makes two needlessly global variables static.
Signed-off-by Adrian Bunk <[email protected]>
arch/x86_64/kernel/early_printk.c renamed from arch/x86_64/kernel/early_printk.c.old +2 -2
@@ -60,7 +60,7 @@/* Serial functions loosely based on a similar package from Klaus P. Gerlicher */ -int early_serial_base =0x3f8 ;/* ttyS0 */ +static int early_serial_base =0x3f8 ;/* ttyS0 */ #define XMTRDY 0x20
@@ -155,7 +155,7 @@ };/* 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, ...)