summaryrefslogtreecommitdiff
path: root/drivers/serial/68328serial.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-04-30 11:54:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 19:29:45 +0400
commit09a6ffa84c8e893d9656296b322dc8145e09e186 (patch)
tree5de0b78209c35e68894b0202af28f63920d6c4b9 /drivers/serial/68328serial.c
parent9e7c9a19c1df8a7450c56c41b9c7405eca7eda07 (diff)
downloadlinux-09a6ffa84c8e893d9656296b322dc8145e09e186.tar.xz
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/68328serial.c')
-rw-r--r--drivers/serial/68328serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c
index 5ce3e57bff0b..bbf5bc5892c7 100644
--- a/drivers/serial/68328serial.c
+++ b/drivers/serial/68328serial.c
@@ -200,7 +200,7 @@ static void rs_stop(struct tty_struct *tty)
local_irq_restore(flags);
}
-static void rs_put_char(char ch)
+static int rs_put_char(char ch)
{
int flags, loops = 0;
@@ -214,6 +214,7 @@ static void rs_put_char(char ch)
UTX_TXDATA = ch;
udelay(5);
local_irq_restore(flags);
+ return 1;
}
static void rs_start(struct tty_struct *tty)