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

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
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -541,14 +541,6 @@ static struct console ulite_console = {
	.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)
{
	/*