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>
Wed, 30 Jun 2010 15:15:17 +0000 (08:15 -0700)
commit8cd774ad30c22b9d89823f1f05d845f4cdaba9e8
treed7fd2b83386a5763ebc8651b43afb797a4a6d2c0
parent93416253073511716f7e70c06e32c3810c3deac4
serial: cpm_uart: implement the cpm_uart_early_write() function for console poll

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/cpm_uart/cpm_uart_core.c