diff options
Diffstat (limited to 'drivers/usb/serial/digi_acceleport.c')
-rw-r--r-- | drivers/usb/serial/digi_acceleport.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c index 666e5a6edd82..86fbba6336c9 100644 --- a/drivers/usb/serial/digi_acceleport.c +++ b/drivers/usb/serial/digi_acceleport.c | |||
@@ -445,11 +445,11 @@ static void digi_rx_unthrottle(struct tty_struct *tty); | |||
445 | static void digi_set_termios(struct tty_struct *tty, | 445 | static void digi_set_termios(struct tty_struct *tty, |
446 | struct usb_serial_port *port, struct ktermios *old_termios); | 446 | struct usb_serial_port *port, struct ktermios *old_termios); |
447 | static void digi_break_ctl(struct tty_struct *tty, int break_state); | 447 | static void digi_break_ctl(struct tty_struct *tty, int break_state); |
448 | static int digi_tiocmget(struct tty_struct *tty, struct file *file); | 448 | static int digi_tiocmget(struct tty_struct *tty); |
449 | static int digi_tiocmset(struct tty_struct *tty, struct file *file, | 449 | static int digi_tiocmset(struct tty_struct *tty, unsigned int set, |
450 | unsigned int set, unsigned int clear); | 450 | unsigned int clear); |
451 | static int digi_write(struct tty_struct *tty, struct usb_serial_port *port, | 451 | static int digi_write(struct tty_struct *tty, struct usb_serial_port *port, |
452 | const unsigned char *buf, int count); | 452 | const unsigned char *buf, int count); |
453 | static void digi_write_bulk_callback(struct urb *urb); | 453 | static void digi_write_bulk_callback(struct urb *urb); |
454 | static int digi_write_room(struct tty_struct *tty); | 454 | static int digi_write_room(struct tty_struct *tty); |
455 | static int digi_chars_in_buffer(struct tty_struct *tty); | 455 | static int digi_chars_in_buffer(struct tty_struct *tty); |
@@ -1118,7 +1118,7 @@ static void digi_break_ctl(struct tty_struct *tty, int break_state) | |||
1118 | } | 1118 | } |
1119 | 1119 | ||
1120 | 1120 | ||
1121 | static int digi_tiocmget(struct tty_struct *tty, struct file *file) | 1121 | static int digi_tiocmget(struct tty_struct *tty) |
1122 | { | 1122 | { |
1123 | struct usb_serial_port *port = tty->driver_data; | 1123 | struct usb_serial_port *port = tty->driver_data; |
1124 | struct digi_port *priv = usb_get_serial_port_data(port); | 1124 | struct digi_port *priv = usb_get_serial_port_data(port); |
@@ -1134,8 +1134,8 @@ static int digi_tiocmget(struct tty_struct *tty, struct file *file) | |||
1134 | } | 1134 | } |
1135 | 1135 | ||
1136 | 1136 | ||
1137 | static int digi_tiocmset(struct tty_struct *tty, struct file *file, | 1137 | static int digi_tiocmset(struct tty_struct *tty, |
1138 | unsigned int set, unsigned int clear) | 1138 | unsigned int set, unsigned int clear) |
1139 | { | 1139 | { |
1140 | struct usb_serial_port *port = tty->driver_data; | 1140 | struct usb_serial_port *port = tty->driver_data; |
1141 | struct digi_port *priv = usb_get_serial_port_data(port); | 1141 | struct digi_port *priv = usb_get_serial_port_data(port); |