commit | 3b209d253e7f8aa01fde0233d38a7239c8f7beb3 | [log] [tgz] |
---|---|---|
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | Tue Oct 16 15:48:02 2018 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Nov 09 08:45:07 2018 -0800 |
tree | 7fce4b702e30de3114ccc420345750a646f1b1a9 | |
parent | 62104b280a5a5d999c562d8e8f4c6c4eb97fb013 [diff] |
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>