cpm_uart_port_map not initialised before serial console setup

2006-07-13 Thread Laurent Pinchart
Hi everybody, while trying to use SCC1 as a serial console, I found a bug in the cpm_uart driver. The cpm_uart_port_map table is initialised by cpm_uart_count() which is called in cpm_uart_init() at module_init() time. cpm_uart_console_setup(), called at console_initcall() time, accesses

cpm_uart_port_map not initialised before serial console setup

2006-07-13 Thread Vitaly Bordug
On Thu, 13 Jul 2006 16:55:35 +0200 Laurent Pinchart laurent.pinchart at tbox.biz wrote: Hi everybody, while trying to use SCC1 as a serial console, I found a bug in the cpm_uart driver. The cpm_uart_port_map table is initialised by cpm_uart_count() which is called in cpm_uart_init()