serial: uartps: Fill struct uart_driver in probe()
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Sep 2018 13:10:55 +0000 (15:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:07:23 +0000 (16:07 +0200)
commit10a5315b47b09ea3c8e69e5bb5b51a829fe84028
treeda9657470f1ab7de21d8b7be96abaff5e149e3e0
parente4bbb5194ea3bc77ab843fe01c9f243cf8c6c6b2
serial: uartps: Fill struct uart_driver in probe()

This is preparation step for dynamic port allocation without
CDNS_UART_NR_PORTS macro. Fill the structure only once at probe.

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