Skip to contentSkip to conversation

i386/x86_64 early_printk.c: make early_serial_base static

PATCH New Adrian Bunk 1 participant 1 message Mar 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386/x86_64 early_printk.c: make early_serial_base static

This patch makes a needlessly global variable static.

---

This patch was already sent on:
- 20 Mar 2005

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