[2.6 patch] i386/x86_64 early_printk.c: make early_serial_base static
From: Adrian Bunk
Date: Sat Mar 26 2005 - 20:50:16 EST
This patch makes a needlessly global variable static.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
---
This patch was already sent on:
- 20 Mar 2005
--- linux-2.6.11-mm4-full/arch/x86_64/kernel/early_printk.c.old 2005-03-20 19:46:41.000000000 +0100
+++ linux-2.6.11-mm4-full/arch/x86_64/kernel/early_printk.c 2005-03-20 19:46:49.000000000 +0100
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/