summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/rda-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/rda-uart.c')
-rw-r--r--drivers/tty/serial/rda-uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c
index feb2054aba37..0e387e2144fa 100644
--- a/drivers/tty/serial/rda-uart.c
+++ b/drivers/tty/serial/rda-uart.c
@@ -238,7 +238,7 @@ static void rda_uart_change_baudrate(struct rda_uart_port *rda_port,
static void rda_uart_set_termios(struct uart_port *port,
struct ktermios *termios,
- struct ktermios *old)
+ const struct ktermios *old)
{
struct rda_uart_port *rda_port = to_rda_uart_port(port);
unsigned long flags;