]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/serial/68360serial.c
serial m68k: put_char returns
[linux-2.6-omap-h63xx.git] / drivers / serial / 68360serial.c
index f4f737bfa0a7241f9e624ab0460cc949f7b182d9..4714bd697af2f1be19d95fce4aadeed9a1b63277 100644 (file)
@@ -995,10 +995,10 @@ static void rs_360_put_char(struct tty_struct *tty, unsigned char ch)
        volatile QUICC_BD       *bdp;
 
        if (serial_paranoia_check(info, tty->name, "rs_put_char"))
-               return;
+               return 0;
 
        if (!tty)
-               return;
+               return 0;
 
        bdp = info->tx_cur;
        while (bdp->status & BD_SC_READY);
@@ -1016,6 +1016,7 @@ static void rs_360_put_char(struct tty_struct *tty, unsigned char ch)
                bdp++;
 
        info->tx_cur = (QUICC_BD *)bdp;
+       return 1;
 
 }