]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:07:23 +0000 (16:07 +0200)
commit427c8ae9bebc484080b00523b434c98c23135088
treef4ebe4a1e25e832a62887cf60ca9d4506a59cf59
parent10a5315b47b09ea3c8e69e5bb5b51a829fe84028
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