diff options
Diffstat (limited to 'drivers/usb/serial/spcp8x5.c')
-rw-r--r-- | drivers/usb/serial/spcp8x5.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c index cbfb70bffdd0..180ea6c7911c 100644 --- a/drivers/usb/serial/spcp8x5.c +++ b/drivers/usb/serial/spcp8x5.c | |||
@@ -576,7 +576,7 @@ static int spcp8x5_wait_modem_info(struct usb_serial_port *port, | |||
576 | return 0; | 576 | return 0; |
577 | } | 577 | } |
578 | 578 | ||
579 | static int spcp8x5_ioctl(struct tty_struct *tty, struct file *file, | 579 | static int spcp8x5_ioctl(struct tty_struct *tty, |
580 | unsigned int cmd, unsigned long arg) | 580 | unsigned int cmd, unsigned long arg) |
581 | { | 581 | { |
582 | struct usb_serial_port *port = tty->driver_data; | 582 | struct usb_serial_port *port = tty->driver_data; |
@@ -595,7 +595,7 @@ static int spcp8x5_ioctl(struct tty_struct *tty, struct file *file, | |||
595 | return -ENOIOCTLCMD; | 595 | return -ENOIOCTLCMD; |
596 | } | 596 | } |
597 | 597 | ||
598 | static int spcp8x5_tiocmset(struct tty_struct *tty, struct file *file, | 598 | static int spcp8x5_tiocmset(struct tty_struct *tty, |
599 | unsigned int set, unsigned int clear) | 599 | unsigned int set, unsigned int clear) |
600 | { | 600 | { |
601 | struct usb_serial_port *port = tty->driver_data; | 601 | struct usb_serial_port *port = tty->driver_data; |
@@ -618,7 +618,7 @@ static int spcp8x5_tiocmset(struct tty_struct *tty, struct file *file, | |||
618 | return spcp8x5_set_ctrlLine(port->serial->dev, control , priv->type); | 618 | return spcp8x5_set_ctrlLine(port->serial->dev, control , priv->type); |
619 | } | 619 | } |
620 | 620 | ||
621 | static int spcp8x5_tiocmget(struct tty_struct *tty, struct file *file) | 621 | static int spcp8x5_tiocmget(struct tty_struct *tty) |
622 | { | 622 | { |
623 | struct usb_serial_port *port = tty->driver_data; | 623 | struct usb_serial_port *port = tty->driver_data; |
624 | struct spcp8x5_private *priv = usb_get_serial_port_data(port); | 624 | struct spcp8x5_private *priv = usb_get_serial_port_data(port); |