Hi Alan, this is the initial version before next step which is move uart_register_driver to probe function. I was able to get rid of static array with uart_port structures. It was wired with console which is also fixed. And the next step is the most complicated one handle .nr in uart_driver structure in more generic way. Thanks, Michal Michal Simek (4): serial: uartps: Remove console_initcall from the driver serial: uartps: Use dynamic array for console port serial: uartps: Move cnds_uart_get_port to probe serial: uartps: Remove static port array drivers/tty/serial/xilinx_uartps.c | 102 +++++++++++++++---------------------- 1 file changed, 40 insertions(+), 62 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html