]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
serial: uartps: Change logic how console_port is setup
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Sep 2018 13:10:56 +0000 (15:10 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 20 Sep 2018 13:24:01 +0000 (15:24 +0200)
commit00639b5297f1d14d1dcdd7a12521bc377387abec
tree77085d3025081fab77b89a44d4354175aac66490
parent1b53b2a1dc2dd33c4b4c049281dc675f30f5774c
serial: uartps: Change logic how console_port is setup

Change logic how console_port is setup by using CON_ENABLED flag
instead of index. There will be unique cdns_uart_console() structures
that's why code can't use id for console_port assignment.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c