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: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Shubhrajyoti Datta
2018-09-18 16:07:23 +02:00
committed by Greg Kroah-Hartman
parent 415b43bdb0
commit 5f6825d1ce
-8
View File
@@ -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)
{
/*