1
0
mirror of https://github.com/sjlongland/adv950.git synced 2025-09-13 10:43:14 +10:00

8250: Fix prototype of adv950_set_ldisc

As per 732a84a037a4de29b54e0b4e6cb6f9b3813e29e5.
This commit is contained in:
Stuart Longland 2017-03-05 15:36:09 +10:00
parent 782ba49045
commit 439f53e97c
Signed by: stuartl
GPG Key ID: 4DFA191410BDE3B7

View File

@ -2569,9 +2569,9 @@ adv950_set_termios(struct uart_port *port, struct ktermios *termios,
} }
static void static void
adv950_set_ldisc(struct uart_port *port, int new) adv950_set_ldisc(struct uart_port *port, struct ktermios *termios)
{ {
if (new == N_PPS) { if (termios->c_line == N_PPS) {
port->flags |= UPF_HARDPPS_CD; port->flags |= UPF_HARDPPS_CD;
adv950_enable_ms(port); adv950_enable_ms(port);
} else } else