Commit 5f6825d1 authored by Shubhrajyoti Datta's avatar Shubhrajyoti Datta Committed by Greg Kroah-Hartman

tty: serial: uartlite: remove console_init

register_console is called twice once from

uart_add_one_port -> uart_configure_port
remove the double call
Signed-off-by: default avatarShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 415b43bd
...@@ -541,14 +541,6 @@ static struct console ulite_console = { ...@@ -541,14 +541,6 @@ static struct console ulite_console = {
.data = &ulite_uart_driver, .data = &ulite_uart_driver,
}; };
static int __init ulite_console_init(void)
{
register_console(&ulite_console);
return 0;
}
console_initcall(ulite_console_init);
static void early_uartlite_putc(struct uart_port *port, int c) static void early_uartlite_putc(struct uart_port *port, int c)
{ {
/* /*
......
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