From mboxrd@z Thu Jan 1 00:00:00 1970 From: michal.simek@xilinx.com (Michal Simek) Date: Fri, 21 Jul 2017 11:32:23 +0200 Subject: [RFC PATCH 0/4] serial: uartps: Dynamic allocation Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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