diff options
Diffstat (limited to 'drivers/usb/serial/visor.c')
-rw-r--r-- | drivers/usb/serial/visor.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 88949f7884ca..befe2e11a041 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -47,9 +47,9 @@ static int visor_calc_num_ports(struct usb_serial *serial); | |||
47 | static void visor_shutdown (struct usb_serial *serial); | 47 | static void visor_shutdown (struct usb_serial *serial); |
48 | static int visor_ioctl (struct usb_serial_port *port, struct file * file, unsigned int cmd, unsigned long arg); | 48 | static int visor_ioctl (struct usb_serial_port *port, struct file * file, unsigned int cmd, unsigned long arg); |
49 | static void visor_set_termios (struct usb_serial_port *port, struct termios *old_termios); | 49 | static void visor_set_termios (struct usb_serial_port *port, struct termios *old_termios); |
50 | static void visor_write_bulk_callback (struct urb *urb, struct pt_regs *regs); | 50 | static void visor_write_bulk_callback (struct urb *urb); |
51 | static void visor_read_bulk_callback (struct urb *urb, struct pt_regs *regs); | 51 | static void visor_read_bulk_callback (struct urb *urb); |
52 | static void visor_read_int_callback (struct urb *urb, struct pt_regs *regs); | 52 | static void visor_read_int_callback (struct urb *urb); |
53 | static int clie_3_5_startup (struct usb_serial *serial); | 53 | static int clie_3_5_startup (struct usb_serial *serial); |
54 | static int treo_attach (struct usb_serial *serial); | 54 | static int treo_attach (struct usb_serial *serial); |
55 | static int clie_5_attach (struct usb_serial *serial); | 55 | static int clie_5_attach (struct usb_serial *serial); |
@@ -471,7 +471,7 @@ static int visor_chars_in_buffer (struct usb_serial_port *port) | |||
471 | } | 471 | } |
472 | 472 | ||
473 | 473 | ||
474 | static void visor_write_bulk_callback (struct urb *urb, struct pt_regs *regs) | 474 | static void visor_write_bulk_callback (struct urb *urb) |
475 | { | 475 | { |
476 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 476 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
477 | struct visor_private *priv = usb_get_serial_port_data(port); | 477 | struct visor_private *priv = usb_get_serial_port_data(port); |
@@ -494,7 +494,7 @@ static void visor_write_bulk_callback (struct urb *urb, struct pt_regs *regs) | |||
494 | } | 494 | } |
495 | 495 | ||
496 | 496 | ||
497 | static void visor_read_bulk_callback (struct urb *urb, struct pt_regs *regs) | 497 | static void visor_read_bulk_callback (struct urb *urb) |
498 | { | 498 | { |
499 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 499 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
500 | struct visor_private *priv = usb_get_serial_port_data(port); | 500 | struct visor_private *priv = usb_get_serial_port_data(port); |
@@ -539,7 +539,7 @@ static void visor_read_bulk_callback (struct urb *urb, struct pt_regs *regs) | |||
539 | return; | 539 | return; |
540 | } | 540 | } |
541 | 541 | ||
542 | static void visor_read_int_callback (struct urb *urb, struct pt_regs *regs) | 542 | static void visor_read_int_callback (struct urb *urb) |
543 | { | 543 | { |
544 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 544 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; |
545 | int result; | 545 | int result; |