Commit 434498d5 authored by Andreas Schwab's avatar Andreas Schwab Committed by Linus Torvalds

[PATCH] sn_console: make sal_console_uart static again

Signed-off-by: default avatarAndreas Schwab <schwab@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 882fe011
...@@ -787,7 +787,7 @@ static void __init sn_sal_switch_to_interrupts(struct sn_cons_port *port) ...@@ -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 void sn_sal_console_write(struct console *, const char *, unsigned);
static int __init sn_sal_console_setup(struct console *, char *); 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 *); extern struct tty_driver *uart_console_device(struct console *, int *);
static struct console sal_console = { static struct console sal_console = {
...@@ -801,7 +801,7 @@ static struct console sal_console = { ...@@ -801,7 +801,7 @@ static struct console sal_console = {
#define SAL_CONSOLE &sal_console #define SAL_CONSOLE &sal_console
struct uart_driver sal_console_uart = { static struct uart_driver sal_console_uart = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.driver_name = "sn_console", .driver_name = "sn_console",
.dev_name = DEVICE_NAME, .dev_name = DEVICE_NAME,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment