]> git.baikalelectronics.ru Git - kernel.git/commit
serial: uartps: Do not use static struct uart_driver out of probe()
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Sep 2018 13:10:52 +0000 (15:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:07:22 +0000 (16:07 +0200)
commit1223247b3abf5a9c98890fd91cb8d6f75ec44ba1
tree8e9fd5bb862778efd02c397bd100c7f7b7bd280e
parentc24af8b95dfc269daf77b1d78483303bdfbe4f9a
serial: uartps: Do not use static struct uart_driver out of probe()

cdns_uart_suspend()/resume() and remove() are using static reference
to struct uart_driver. Assign this reference to private data structure
as preparation step for dynamic struct uart_driver allocation.

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