[POWERPC] CPM_UART: Fix non-console initialisation
commit0091cf5a6ae6e52fc95ceb53200975ef2c81c206
authorKalle Pokki <kalle.pokki@iki.fi>
Wed, 1 Nov 2006 13:08:13 +0000 (1 15:08 +0200)
committerPaul Mackerras <paulus@samba.org>
Fri, 10 Nov 2006 10:35:36 +0000 (10 21:35 +1100)
tree374a45649cff6bf799541bbfc602097c843f5b36
parent599540a85595bd5950354bd95f5ebf9c6e07c971
[POWERPC] CPM_UART: Fix non-console initialisation

The cpm_uart driver is initialised incorrectly, if there is a frame buffer
console, and CONFIG_SERIAL_CPM_CONSOLE is defined. The driver fails to
call cpm_uart_init_portdesc() and set_lineif() in this case.

Signed-off-by: Kalle Pokki <kalle.pokki@iki.fi>
Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/serial/cpm_uart/cpm_uart.h
drivers/serial/cpm_uart/cpm_uart_core.c
drivers/serial/cpm_uart/cpm_uart_cpm1.c