diff options
Diffstat (limited to 'drivers/usb/serial/visor.c')
-rw-r--r-- | drivers/usb/serial/visor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index a100a52a376e..5fc20122145f 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -478,7 +478,7 @@ static int visor_chars_in_buffer (struct usb_serial_port *port) | |||
478 | 478 | ||
479 | static void visor_write_bulk_callback (struct urb *urb) | 479 | static void visor_write_bulk_callback (struct urb *urb) |
480 | { | 480 | { |
481 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 481 | struct usb_serial_port *port = urb->context; |
482 | struct visor_private *priv = usb_get_serial_port_data(port); | 482 | struct visor_private *priv = usb_get_serial_port_data(port); |
483 | int status = urb->status; | 483 | int status = urb->status; |
484 | unsigned long flags; | 484 | unsigned long flags; |
@@ -502,7 +502,7 @@ static void visor_write_bulk_callback (struct urb *urb) | |||
502 | 502 | ||
503 | static void visor_read_bulk_callback (struct urb *urb) | 503 | static void visor_read_bulk_callback (struct urb *urb) |
504 | { | 504 | { |
505 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 505 | struct usb_serial_port *port = urb->context; |
506 | struct visor_private *priv = usb_get_serial_port_data(port); | 506 | struct visor_private *priv = usb_get_serial_port_data(port); |
507 | unsigned char *data = urb->transfer_buffer; | 507 | unsigned char *data = urb->transfer_buffer; |
508 | int status = urb->status; | 508 | int status = urb->status; |
@@ -553,7 +553,7 @@ static void visor_read_bulk_callback (struct urb *urb) | |||
553 | 553 | ||
554 | static void visor_read_int_callback (struct urb *urb) | 554 | static void visor_read_int_callback (struct urb *urb) |
555 | { | 555 | { |
556 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 556 | struct usb_serial_port *port = urb->context; |
557 | int status = urb->status; | 557 | int status = urb->status; |
558 | int result; | 558 | int result; |
559 | 559 | ||