From: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> Currently the number of uarts are configured through a Kconfig option Make it dynamic. While at it adapt to the runtime framework. It is based a similar series on the uartps from Michal Shubhrajyoti Datta (9): serial-uartlite: Move the uart register serial-uartlite: Add get serial id if not provided serial-uartlite: Do not use static struct uart_driver out of probe() serial-uartlite: Add runtime support serial-uartlite: Fix the unbind path serial-uartlite: Change logic how console_port is setup serial-uartlite: Use allocated structure instead of static ones serial-uartlite: Remove ULITE_NR_PORTS macro serial-uartlite: Remove SERIAL_UARTLITE_NR_UARTS drivers/tty/serial/Kconfig | 9 -- drivers/tty/serial/uartlite.c | 326 +++++++++++++++++++++++++++++++----------- 2 files changed, 244 insertions(+), 91 deletions(-) -- 2.1.1