diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-04-30 09:54:01 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 17:29:45 +0200 |
commit | 09a6ffa84c8e893d9656296b322dc8145e09e186 (patch) | |
tree | 5de0b78209c35e68894b0202af28f63920d6c4b9 /drivers/serial/68360serial.c | |
parent | s390 tty: Prepare for put_char to return success/fail (diff) | |
download | linux-09a6ffa84c8e893d9656296b322dc8145e09e186.tar.xz linux-09a6ffa84c8e893d9656296b322dc8145e09e186.zip |
serial m68k: put_char returns
Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/68360serial.c')
-rw-r--r-- | drivers/serial/68360serial.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/serial/68360serial.c b/drivers/serial/68360serial.c index f4f737bfa0a7..4714bd697af2 100644 --- a/drivers/serial/68360serial.c +++ b/drivers/serial/68360serial.c @@ -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; } |