aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/mcfserial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/mcfserial.c')
-rw-r--r--drivers/serial/mcfserial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/mcfserial.c b/drivers/serial/mcfserial.c
index aafa1704e1ab..43af40d59b8a 100644
--- a/drivers/serial/mcfserial.c
+++ b/drivers/serial/mcfserial.c
@@ -1897,7 +1897,7 @@ static struct tty_driver *mcfrs_console_device(struct console *c, int *index)
1897 * This is used for console output. 1897 * This is used for console output.
1898 */ 1898 */
1899 1899
1900void mcfrs_put_char(char ch) 1900int mcfrs_put_char(char ch)
1901{ 1901{
1902 volatile unsigned char *uartp; 1902 volatile unsigned char *uartp;
1903 unsigned long flags; 1903 unsigned long flags;
@@ -1921,7 +1921,7 @@ void mcfrs_put_char(char ch)
1921 mcfrs_init_console(); /* try and get it back */ 1921 mcfrs_init_console(); /* try and get it back */
1922 local_irq_restore(flags); 1922 local_irq_restore(flags);
1923 1923
1924 return; 1924 return 1;
1925} 1925}
1926 1926
1927 1927