diff options
Diffstat (limited to 'drivers/usb/serial/cp210x.c')
-rw-r--r-- | drivers/usb/serial/cp210x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 735ea03157ab..b3873815035c 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c | |||
@@ -41,7 +41,7 @@ static void cp210x_get_termios_port(struct usb_serial_port *port, | |||
41 | unsigned int *cflagp, unsigned int *baudp); | 41 | unsigned int *cflagp, unsigned int *baudp); |
42 | static void cp210x_set_termios(struct tty_struct *, struct usb_serial_port *, | 42 | static void cp210x_set_termios(struct tty_struct *, struct usb_serial_port *, |
43 | struct ktermios*); | 43 | struct ktermios*); |
44 | static int cp210x_tiocmget(struct tty_struct *, struct file *); | 44 | static int cp210x_tiocmget(struct tty_struct *); |
45 | static int cp210x_tiocmset(struct tty_struct *, struct file *, | 45 | static int cp210x_tiocmset(struct tty_struct *, struct file *, |
46 | unsigned int, unsigned int); | 46 | unsigned int, unsigned int); |
47 | static int cp210x_tiocmset_port(struct usb_serial_port *port, struct file *, | 47 | static int cp210x_tiocmset_port(struct usb_serial_port *port, struct file *, |
@@ -742,7 +742,7 @@ static void cp210x_dtr_rts(struct usb_serial_port *p, int on) | |||
742 | cp210x_tiocmset_port(p, NULL, 0, TIOCM_DTR|TIOCM_RTS); | 742 | cp210x_tiocmset_port(p, NULL, 0, TIOCM_DTR|TIOCM_RTS); |
743 | } | 743 | } |
744 | 744 | ||
745 | static int cp210x_tiocmget (struct tty_struct *tty, struct file *file) | 745 | static int cp210x_tiocmget (struct tty_struct *tty) |
746 | { | 746 | { |
747 | struct usb_serial_port *port = tty->driver_data; | 747 | struct usb_serial_port *port = tty->driver_data; |
748 | unsigned int control; | 748 | unsigned int control; |