diff options
Diffstat (limited to 'drivers/usb/serial/keyspan_pda.c')
-rw-r--r-- | drivers/usb/serial/keyspan_pda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c index b650fb4754b4..ff54203944ca 100644 --- a/drivers/usb/serial/keyspan_pda.c +++ b/drivers/usb/serial/keyspan_pda.c | |||
@@ -214,7 +214,7 @@ static void keyspan_pda_request_unthrottle(struct work_struct *work) | |||
214 | 214 | ||
215 | static void keyspan_pda_rx_interrupt (struct urb *urb) | 215 | static void keyspan_pda_rx_interrupt (struct urb *urb) |
216 | { | 216 | { |
217 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 217 | struct usb_serial_port *port = urb->context; |
218 | struct tty_struct *tty = port->tty; | 218 | struct tty_struct *tty = port->tty; |
219 | unsigned char *data = urb->transfer_buffer; | 219 | unsigned char *data = urb->transfer_buffer; |
220 | int i; | 220 | int i; |
@@ -608,7 +608,7 @@ exit: | |||
608 | 608 | ||
609 | static void keyspan_pda_write_bulk_callback (struct urb *urb) | 609 | static void keyspan_pda_write_bulk_callback (struct urb *urb) |
610 | { | 610 | { |
611 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 611 | struct usb_serial_port *port = urb->context; |
612 | struct keyspan_pda_private *priv; | 612 | struct keyspan_pda_private *priv; |
613 | 613 | ||
614 | port->write_urb_busy = 0; | 614 | port->write_urb_busy = 0; |