summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sb1250-duart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/sb1250-duart.c')
-rw-r--r--drivers/tty/serial/sb1250-duart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sb1250-duart.c b/drivers/tty/serial/sb1250-duart.c
index 2cf8533ef760..c5d2b6cdcb4a 100644
--- a/drivers/tty/serial/sb1250-duart.c
+++ b/drivers/tty/serial/sb1250-duart.c
@@ -531,7 +531,7 @@ static void sbd_init_port(struct sbd_port *sport)
}
static void sbd_set_termios(struct uart_port *uport, struct ktermios *termios,
- struct ktermios *old_termios)
+ const struct ktermios *old_termios)
{
struct sbd_port *sport = to_sport(uport);
unsigned int mode1 = 0, mode2 = 0, aux = 0;