Revert "serial-uartlite: Do not use static struct uart_driver out of probe()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Nov 2019 22:28:15 +0000 (06:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Nov 2019 22:28:15 +0000 (06:28 +0800)
commit5d8508aa079a2aa70d1e67f087c47f459c30ca93
treecddda757f165941261ab1979c6f5876f33cbcbbe
parent07e5d4ff125ad0c77b129212801155d9f1bc5bdf
Revert "serial-uartlite: Do not use static struct uart_driver out of probe()"

This reverts commit 3b209d253e7f8aa01fde0233d38a7239c8f7beb3.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
    https://lkml.kernel.org/r/20190523091839.GC568@localhost

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