commit | 0413fe045dda45781cb33788c2d57eafdf8295f7 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Mon Apr 23 11:51:01 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 25 14:58:45 2018 +0200 |
tree | fad042b997e033d4aaddaf9da606766e84e829c2 | |
parent | 0f38c5e3e0ade98b49e2c7ca5550ee9e36cbc04f [diff] |
serial: uartps: 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: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>