diff options
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index e774a27c6c98..d3dc1a15ec6c 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -589,8 +589,8 @@ static void ftdi_close (struct usb_serial_port *port, struct file *filp); | |||
589 | static int ftdi_write (struct usb_serial_port *port, const unsigned char *buf, int count); | 589 | static int ftdi_write (struct usb_serial_port *port, const unsigned char *buf, int count); |
590 | static int ftdi_write_room (struct usb_serial_port *port); | 590 | static int ftdi_write_room (struct usb_serial_port *port); |
591 | static int ftdi_chars_in_buffer (struct usb_serial_port *port); | 591 | static int ftdi_chars_in_buffer (struct usb_serial_port *port); |
592 | static void ftdi_write_bulk_callback (struct urb *urb, struct pt_regs *regs); | 592 | static void ftdi_write_bulk_callback (struct urb *urb); |
593 | static void ftdi_read_bulk_callback (struct urb *urb, struct pt_regs *regs); | 593 | static void ftdi_read_bulk_callback (struct urb *urb); |
594 | static void ftdi_process_read (void *param); | 594 | static void ftdi_process_read (void *param); |
595 | static void ftdi_set_termios (struct usb_serial_port *port, struct termios * old); | 595 | static void ftdi_set_termios (struct usb_serial_port *port, struct termios * old); |
596 | static int ftdi_tiocmget (struct usb_serial_port *port, struct file *file); | 596 | static int ftdi_tiocmget (struct usb_serial_port *port, struct file *file); |
@@ -1508,7 +1508,7 @@ static int ftdi_write (struct usb_serial_port *port, | |||
1508 | 1508 | ||
1509 | /* This function may get called when the device is closed */ | 1509 | /* This function may get called when the device is closed */ |
1510 | 1510 | ||
1511 | static void ftdi_write_bulk_callback (struct urb *urb, struct pt_regs *regs) | 1511 | static void ftdi_write_bulk_callback (struct urb *urb) |
1512 | { | 1512 | { |
1513 | unsigned long flags; | 1513 | unsigned long flags; |
1514 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 1514 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
@@ -1591,7 +1591,7 @@ static int ftdi_chars_in_buffer (struct usb_serial_port *port) | |||
1591 | 1591 | ||
1592 | 1592 | ||
1593 | 1593 | ||
1594 | static void ftdi_read_bulk_callback (struct urb *urb, struct pt_regs *regs) | 1594 | static void ftdi_read_bulk_callback (struct urb *urb) |
1595 | { /* ftdi_read_bulk_callback */ | 1595 | { /* ftdi_read_bulk_callback */ |
1596 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 1596 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
1597 | struct tty_struct *tty; | 1597 | struct tty_struct *tty; |