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/mcfserial.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 '')
-rw-r--r-- | drivers/serial/mcfserial.c | 4 |
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) * 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; } |