]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/mcfserial.c
serial m68k: put_char returns
[linux-2.6-omap-h63xx.git] / drivers / serial / mcfserial.c
index aafa1704e1ab034d318807d6dff9530e0cae1459..43af40d59b8af44717621150e13194afd85efdff 100644 (file)
@@ -1897,7 +1897,7 @@ static struct tty_driver *mcfrs_console_device(struct console *c, int *index)
  *     This is used for console output.
  */
 
-void mcfrs_put_char(char ch)
+int mcfrs_put_char(char ch)
 {
        volatile unsigned char  *uartp;
        unsigned long           flags;
@@ -1921,7 +1921,7 @@ void mcfrs_put_char(char ch)
                mcfrs_init_console(); /* try and get it back */
        local_irq_restore(flags);
 
-       return;
+       return 1;
 }