]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
serial-uartlite: Do not use static struct uart_driver out of probe()
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Thu, 4 Oct 2018 14:37:34 +0000 (20:07 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 5 Oct 2018 09:34:40 +0000 (11:34 +0200)
commit0036e0045dc2206533e5049c2ff4bc02523bfbf1
tree415267807cdc822e0f16718761eae604cef322f9
parent3dfe71074d2d177e862f7d5ba8525a937726e6ef
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>
drivers/tty/serial/uartlite.c