aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2005-03-30 14:22:42 +0100
committerRussell King <rmk@flint.arm.linux.org.uk>2005-03-30 14:22:42 +0100
commit9cc45feb3ecd1914c82d65bf9e1955a0671584cc (patch)
treedf83bb5968c81225a2600ebb27cde47bd9601c78
parent21248e454178f5c7ea48b83ba58058667e0893df (diff)
downloadhistory-9cc45feb3ecd1914c82d65bf9e1955a0671584cc.tar.gz
[SERIAL] Remove serial8250_late_console_init
The serial core will try to register the console each time a port is registered with it. This makes serial8250_late_console_init redundant, so remove it. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
-rw-r--r--drivers/serial/8250.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 2eae67f9a621f..226f328a86f1e 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2194,14 +2194,6 @@ static int __init serial8250_console_init(void)
}
console_initcall(serial8250_console_init);
-static int __init serial8250_late_console_init(void)
-{
- if (!(serial8250_console.flags & CON_ENABLED))
- register_console(&serial8250_console);
- return 0;
-}
-late_initcall(serial8250_late_console_init);
-
static int __init find_port(struct uart_port *p)
{
int line;