aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r--drivers/usb/serial/ftdi_sio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 1d7c4fac02e8..46a88ae9c46a 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -2074,7 +2074,7 @@ static int ftdi_process_packet(struct tty_struct *tty,
2074 return 0; /* status only */ 2074 return 0; /* status only */
2075 ch = packet + 2; 2075 ch = packet + 2;
2076 2076
2077 if (!(port->console && port->sysrq) && flag == TTY_NORMAL) 2077 if (!(port->port.console && port->sysrq) && flag == TTY_NORMAL)
2078 tty_insert_flip_string(tty, ch, len); 2078 tty_insert_flip_string(tty, ch, len);
2079 else { 2079 else {
2080 for (i = 0; i < len; i++, ch++) { 2080 for (i = 0; i < len; i++, ch++) {