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:
parent
782ba49045
commit
439f53e97c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user