diff options
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 4787c0cd063f..281d18141051 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -856,7 +856,7 @@ static int ftdi_prepare_write_buffer(struct usb_serial_port *port, | |||
856 | void *dest, size_t size); | 856 | void *dest, size_t size); |
857 | static void ftdi_set_termios(struct tty_struct *tty, | 857 | static void ftdi_set_termios(struct tty_struct *tty, |
858 | struct usb_serial_port *port, struct ktermios *old); | 858 | struct usb_serial_port *port, struct ktermios *old); |
859 | static int ftdi_tiocmget(struct tty_struct *tty, struct file *file); | 859 | static int ftdi_tiocmget(struct tty_struct *tty); |
860 | static int ftdi_tiocmset(struct tty_struct *tty, struct file *file, | 860 | static int ftdi_tiocmset(struct tty_struct *tty, struct file *file, |
861 | unsigned int set, unsigned int clear); | 861 | unsigned int set, unsigned int clear); |
862 | static int ftdi_ioctl(struct tty_struct *tty, struct file *file, | 862 | static int ftdi_ioctl(struct tty_struct *tty, struct file *file, |
@@ -2149,7 +2149,7 @@ static void ftdi_set_termios(struct tty_struct *tty, | |||
2149 | } | 2149 | } |
2150 | } | 2150 | } |
2151 | 2151 | ||
2152 | static int ftdi_tiocmget(struct tty_struct *tty, struct file *file) | 2152 | static int ftdi_tiocmget(struct tty_struct *tty) |
2153 | { | 2153 | { |
2154 | struct usb_serial_port *port = tty->driver_data; | 2154 | struct usb_serial_port *port = tty->driver_data; |
2155 | struct ftdi_private *priv = usb_get_serial_port_data(port); | 2155 | struct ftdi_private *priv = usb_get_serial_port_data(port); |