diff options
Diffstat (limited to 'drivers/s390/char/con3215.c')
-rw-r--r-- | drivers/s390/char/con3215.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 0e1f35c9ed9d..3e5653c92f4b 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c | |||
@@ -982,15 +982,16 @@ tty3215_write(struct tty_struct * tty, | |||
982 | /* | 982 | /* |
983 | * Put character routine for 3215 ttys | 983 | * Put character routine for 3215 ttys |
984 | */ | 984 | */ |
985 | static void | 985 | static int |
986 | tty3215_put_char(struct tty_struct *tty, unsigned char ch) | 986 | tty3215_put_char(struct tty_struct *tty, unsigned char ch) |
987 | { | 987 | { |
988 | struct raw3215_info *raw; | 988 | struct raw3215_info *raw; |
989 | 989 | ||
990 | if (!tty) | 990 | if (!tty) |
991 | return; | 991 | return 0; |
992 | raw = (struct raw3215_info *) tty->driver_data; | 992 | raw = (struct raw3215_info *) tty->driver_data; |
993 | raw3215_putchar(raw, ch); | 993 | raw3215_putchar(raw, ch); |
994 | return 1; | ||
994 | } | 995 | } |
995 | 996 | ||
996 | static void | 997 | static void |