serial: cpm_uart: implement the cpm_uart_early_write() function for console poll
authorDongdong Deng <dongdong.deng@windriver.com>
Thu, 17 Jun 2010 03:13:40 +0000 (11:13 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:20:52 +0000 (10:20 -0700)
commit722531594f182f6976d31c5c6f7c144d4088e266
tree75652b33adaad3fecfe3d352dd5f9ddb19dcd38b
parente5d4a35afb1492fe90ba8d8fc783d45c63ff244e
serial: cpm_uart: implement the cpm_uart_early_write() function for console poll

commit 8cd774ad30c22b9d89823f1f05d845f4cdaba9e8 upstream.

The cpm_uart_early_write() function which was used for console poll
isn't implemented in the cpm uart driver.

Implementing this function both fixes the build when CONFIG_CONSOLE_POLL
is set and allows kgdboc to work via the cpm uart.

Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/cpm_uart/cpm_uart_core.c