Skip to contentSkip to conversation

i386/x86_64 early_printk.c: make a variable static

PATCH New Adrian Bunk 1 participant 1 message Apr 9, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386/x86_64 early_printk.c: make a variable static

This patch makes a needlessly global variable static.

arch/x86_64/kernel/early_printk.c renamed from arch/x86_64/kernel/early_printk.c.old +1 -1
@@ -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, ...)