]> git.baikalelectronics.ru Git - kernel.git/commit
serial-uartlite: Do not use static struct uart_driver out of probe()
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 16 Oct 2018 10:18:02 +0000 (15:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 16:45:07 +0000 (08:45 -0800)
commitc38892d87584a2da2ad76d6ecab00ef580aa9676
tree7fce4b702e30de3114ccc420345750a646f1b1a9
parentb23a7f906949ea39e098a0dd4754245165b209bd
serial-uartlite: Do not use static struct uart_driver out of probe()

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

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