OSDN Git Service

tty: serial: uartlite: remove console_init
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Mon, 6 Aug 2018 08:52:13 +0000 (14:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:07:23 +0000 (16:07 +0200)
commit5f6825d1cef747f6677a833708d698c7df3c1bc8
tree2271c4814bf2a5d272f391ff7c0d86f1be136425
parent415b43bdb00890f5698ceff3d3531d2daa98c5a1
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>
drivers/tty/serial/uartlite.c