diff options
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index bc800c8787a8..d124d780e42e 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -455,7 +455,7 @@ static int pl2303_chars_in_buffer(struct usb_serial_port *port) | |||
455 | } | 455 | } |
456 | 456 | ||
457 | static void pl2303_set_termios(struct usb_serial_port *port, | 457 | static void pl2303_set_termios(struct usb_serial_port *port, |
458 | struct termios *old_termios) | 458 | struct ktermios *old_termios) |
459 | { | 459 | { |
460 | struct usb_serial *serial = port->serial; | 460 | struct usb_serial *serial = port->serial; |
461 | struct pl2303_private *priv = usb_get_serial_port_data(port); | 461 | struct pl2303_private *priv = usb_get_serial_port_data(port); |
@@ -687,7 +687,7 @@ static void pl2303_close(struct usb_serial_port *port, struct file *filp) | |||
687 | 687 | ||
688 | static int pl2303_open(struct usb_serial_port *port, struct file *filp) | 688 | static int pl2303_open(struct usb_serial_port *port, struct file *filp) |
689 | { | 689 | { |
690 | struct termios tmp_termios; | 690 | struct ktermios tmp_termios; |
691 | struct usb_serial *serial = port->serial; | 691 | struct usb_serial *serial = port->serial; |
692 | struct pl2303_private *priv = usb_get_serial_port_data(port); | 692 | struct pl2303_private *priv = usb_get_serial_port_data(port); |
693 | unsigned char *buf; | 693 | unsigned char *buf; |