diff options
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 08c9181b8e48..30461fcc2206 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -505,7 +505,7 @@ static int pl2303_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
505 | return 0; | 505 | return 0; |
506 | } | 506 | } |
507 | 507 | ||
508 | static int pl2303_tiocmset(struct tty_struct *tty, struct file *file, | 508 | static int pl2303_tiocmset(struct tty_struct *tty, |
509 | unsigned int set, unsigned int clear) | 509 | unsigned int set, unsigned int clear) |
510 | { | 510 | { |
511 | struct usb_serial_port *port = tty->driver_data; | 511 | struct usb_serial_port *port = tty->driver_data; |
@@ -531,7 +531,7 @@ static int pl2303_tiocmset(struct tty_struct *tty, struct file *file, | |||
531 | return set_control_lines(port->serial->dev, control); | 531 | return set_control_lines(port->serial->dev, control); |
532 | } | 532 | } |
533 | 533 | ||
534 | static int pl2303_tiocmget(struct tty_struct *tty, struct file *file) | 534 | static int pl2303_tiocmget(struct tty_struct *tty) |
535 | { | 535 | { |
536 | struct usb_serial_port *port = tty->driver_data; | 536 | struct usb_serial_port *port = tty->driver_data; |
537 | struct pl2303_private *priv = usb_get_serial_port_data(port); | 537 | struct pl2303_private *priv = usb_get_serial_port_data(port); |
@@ -606,7 +606,7 @@ static int wait_modem_info(struct usb_serial_port *port, unsigned int arg) | |||
606 | return 0; | 606 | return 0; |
607 | } | 607 | } |
608 | 608 | ||
609 | static int pl2303_ioctl(struct tty_struct *tty, struct file *file, | 609 | static int pl2303_ioctl(struct tty_struct *tty, |
610 | unsigned int cmd, unsigned long arg) | 610 | unsigned int cmd, unsigned long arg) |
611 | { | 611 | { |
612 | struct serial_struct ser; | 612 | struct serial_struct ser; |