mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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:
parent
415b43bdb0
commit
5f6825d1ce
1 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue