commit | deeb33e8fdd834770f75996c18153453d5af6c50 | [log] [tgz] |
---|---|---|
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | Mon Aug 06 14:22:14 2018 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 18 16:07:24 2018 +0200 |
tree | e531bc46d8fa4f2cb66e3b8a0b5c96dcfd5b3faa | |
parent | 5f6825d1cef747f6677a833708d698c7df3c1bc8 [diff] |
tty: serial: uartlite: Use dynamic array for console port Driver console functions are using pointer to static array with fixed size. There can be only one serial console at the time which is found by register_console(). register_console() is filling cons->index to port->line value. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>