aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/mxser.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/mxser.c')
-rw-r--r--drivers/char/mxser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c
index 1fb25571bf85..f04c3c58a05a 100644
--- a/drivers/char/mxser.c
+++ b/drivers/char/mxser.c
@@ -2183,7 +2183,7 @@ static void mxser_hangup(struct tty_struct *tty)
2183/* 2183/*
2184 * mxser_rs_break() --- routine which turns the break handling on or off 2184 * mxser_rs_break() --- routine which turns the break handling on or off
2185 */ 2185 */
2186static void mxser_rs_break(struct tty_struct *tty, int break_state) 2186static int mxser_rs_break(struct tty_struct *tty, int break_state)
2187{ 2187{
2188 struct mxser_port *info = tty->driver_data; 2188 struct mxser_port *info = tty->driver_data;
2189 unsigned long flags; 2189 unsigned long flags;
@@ -2196,6 +2196,7 @@ static void mxser_rs_break(struct tty_struct *tty, int break_state)
2196 outb(inb(info->ioaddr + UART_LCR) & ~UART_LCR_SBC, 2196 outb(inb(info->ioaddr + UART_LCR) & ~UART_LCR_SBC,
2197 info->ioaddr + UART_LCR); 2197 info->ioaddr + UART_LCR);
2198 spin_unlock_irqrestore(&info->slock, flags); 2198 spin_unlock_irqrestore(&info->slock, flags);
2199 return 0;
2199} 2200}
2200 2201
2201static void mxser_receive_chars(struct mxser_port *port, int *status) 2202static void mxser_receive_chars(struct mxser_port *port, int *status)