summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sn_console.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2005-05-01 17:59:12 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 17:59:12 +0200
commit434498d5323445b59167fd7aa5633b74ebbce901 (patch)
tree2dc0de0b092105ddeddb84ae2167231471c4910d /drivers/serial/sn_console.c
parent[PATCH] ipmi: fix a deadlock (diff)
downloadlinux-434498d5323445b59167fd7aa5633b74ebbce901.tar.xz
linux-434498d5323445b59167fd7aa5633b74ebbce901.zip
[PATCH] sn_console: make sal_console_uart static again
Signed-off-by: Andreas Schwab <schwab@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/serial/sn_console.c')
-rw-r--r--drivers/serial/sn_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c
index ffaab9b90fd8..fee6418e84c4 100644
--- a/drivers/serial/sn_console.c
+++ b/drivers/serial/sn_console.c
@@ -787,7 +787,7 @@ static void __init sn_sal_switch_to_interrupts(struct sn_cons_port *port)
static void sn_sal_console_write(struct console *, const char *, unsigned);
static int __init sn_sal_console_setup(struct console *, char *);
-extern struct uart_driver sal_console_uart;
+static struct uart_driver sal_console_uart;
extern struct tty_driver *uart_console_device(struct console *, int *);
static struct console sal_console = {
@@ -801,7 +801,7 @@ static struct console sal_console = {
#define SAL_CONSOLE &sal_console
-struct uart_driver sal_console_uart = {
+static struct uart_driver sal_console_uart = {
.owner = THIS_MODULE,
.driver_name = "sn_console",
.dev_name = DEVICE_NAME,