diff options
Diffstat (limited to 'drivers/char/amiserial.c')
-rw-r--r-- | drivers/char/amiserial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/amiserial.c b/drivers/char/amiserial.c index 37457e5a4f2b..3530ff417a51 100644 --- a/drivers/char/amiserial.c +++ b/drivers/char/amiserial.c | |||
@@ -1248,7 +1248,7 @@ static int rs_tiocmset(struct tty_struct *tty, struct file *file, | |||
1248 | /* | 1248 | /* |
1249 | * rs_break() --- routine which turns the break handling on or off | 1249 | * rs_break() --- routine which turns the break handling on or off |
1250 | */ | 1250 | */ |
1251 | static void rs_break(struct tty_struct *tty, int break_state) | 1251 | static int rs_break(struct tty_struct *tty, int break_state) |
1252 | { | 1252 | { |
1253 | struct async_struct * info = (struct async_struct *)tty->driver_data; | 1253 | struct async_struct * info = (struct async_struct *)tty->driver_data; |
1254 | unsigned long flags; | 1254 | unsigned long flags; |
@@ -1263,6 +1263,7 @@ static void rs_break(struct tty_struct *tty, int break_state) | |||
1263 | custom.adkcon = AC_UARTBRK; | 1263 | custom.adkcon = AC_UARTBRK; |
1264 | mb(); | 1264 | mb(); |
1265 | local_irq_restore(flags); | 1265 | local_irq_restore(flags); |
1266 | return 0; | ||
1266 | } | 1267 | } |
1267 | 1268 | ||
1268 | 1269 | ||