]> git.baikalelectronics.ru Git - kernel.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)
commiteb049fdd0e5588d62e1aacabf69282c5951fe07f
treef4ebe4a1e25e832a62887cf60ca9d4506a59cf59
parentcb00f94c1f80284feefaeaec49305656dcb62f9b
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