diff options
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
-rw-r--r-- | drivers/usb/serial/io_ti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index 0d412ede839a..05e4fa730730 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -1710,7 +1710,7 @@ static void handle_new_lsr (struct edgeport_port *edge_port, int lsr_data, __u8 | |||
1710 | 1710 | ||
1711 | static void edge_interrupt_callback (struct urb *urb) | 1711 | static void edge_interrupt_callback (struct urb *urb) |
1712 | { | 1712 | { |
1713 | struct edgeport_serial *edge_serial = (struct edgeport_serial *)urb->context; | 1713 | struct edgeport_serial *edge_serial = urb->context; |
1714 | struct usb_serial_port *port; | 1714 | struct usb_serial_port *port; |
1715 | struct edgeport_port *edge_port; | 1715 | struct edgeport_port *edge_port; |
1716 | unsigned char *data = urb->transfer_buffer; | 1716 | unsigned char *data = urb->transfer_buffer; |
@@ -1803,7 +1803,7 @@ exit: | |||
1803 | 1803 | ||
1804 | static void edge_bulk_in_callback (struct urb *urb) | 1804 | static void edge_bulk_in_callback (struct urb *urb) |
1805 | { | 1805 | { |
1806 | struct edgeport_port *edge_port = (struct edgeport_port *)urb->context; | 1806 | struct edgeport_port *edge_port = urb->context; |
1807 | unsigned char *data = urb->transfer_buffer; | 1807 | unsigned char *data = urb->transfer_buffer; |
1808 | struct tty_struct *tty; | 1808 | struct tty_struct *tty; |
1809 | int retval = 0; | 1809 | int retval = 0; |
@@ -1897,7 +1897,7 @@ static void edge_tty_recv(struct device *dev, struct tty_struct *tty, unsigned c | |||
1897 | 1897 | ||
1898 | static void edge_bulk_out_callback (struct urb *urb) | 1898 | static void edge_bulk_out_callback (struct urb *urb) |
1899 | { | 1899 | { |
1900 | struct usb_serial_port *port = (struct usb_serial_port *)urb->context; | 1900 | struct usb_serial_port *port = urb->context; |
1901 | struct edgeport_port *edge_port = usb_get_serial_port_data(port); | 1901 | struct edgeport_port *edge_port = usb_get_serial_port_data(port); |
1902 | int status = urb->status; | 1902 | int status = urb->status; |
1903 | 1903 | ||