]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/serial/digi_acceleport.c
TTY: switch tty_insert_flip_char
[karo-tx-linux.git] / drivers / usb / serial / digi_acceleport.c
index efbc4035410c63fce87d572dbcea18c8990ba30b..b5fa738512ca785559ecff49c8238949fb52f688 100644 (file)
@@ -1441,7 +1441,7 @@ static int digi_read_inb_callback(struct urb *urb)
 
                /* overrun is special, not associated with a char */
                if (port_status & DIGI_OVERRUN_ERROR)
-                       tty_insert_flip_char(tty, 0, TTY_OVERRUN);
+                       tty_insert_flip_char(&port->port, 0, TTY_OVERRUN);
 
                /* break takes precedence over parity, */
                /* which takes precedence over framing errors */