diff options
Diffstat (limited to 'drivers/usb/serial/mos7840.c')
-rw-r--r-- | drivers/usb/serial/mos7840.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 95bf57166c59..2306d493e55b 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c | |||
@@ -421,7 +421,7 @@ static int mos7840_handle_new_lsr(struct moschip_port *port, __u8 new_lsr) | |||
421 | /************************************************************************/ | 421 | /************************************************************************/ |
422 | /************************************************************************/ | 422 | /************************************************************************/ |
423 | 423 | ||
424 | static void mos7840_control_callback(struct urb *urb, struct pt_regs *regs) | 424 | static void mos7840_control_callback(struct urb *urb) |
425 | { | 425 | { |
426 | unsigned char *data; | 426 | unsigned char *data; |
427 | struct moschip_port *mos7840_port; | 427 | struct moschip_port *mos7840_port; |
@@ -497,7 +497,7 @@ static int mos7840_get_reg(struct moschip_port *mcs, __u16 Wval, __u16 reg, | |||
497 | * interrupt endpoint. | 497 | * interrupt endpoint. |
498 | *****************************************************************************/ | 498 | *****************************************************************************/ |
499 | 499 | ||
500 | static void mos7840_interrupt_callback(struct urb *urb, struct pt_regs *regs) | 500 | static void mos7840_interrupt_callback(struct urb *urb) |
501 | { | 501 | { |
502 | int result; | 502 | int result; |
503 | int length; | 503 | int length; |
@@ -647,7 +647,7 @@ static struct usb_serial *mos7840_get_usb_serial(struct usb_serial_port *port, | |||
647 | * bulk in endpoint. | 647 | * bulk in endpoint. |
648 | *****************************************************************************/ | 648 | *****************************************************************************/ |
649 | 649 | ||
650 | static void mos7840_bulk_in_callback(struct urb *urb, struct pt_regs *regs) | 650 | static void mos7840_bulk_in_callback(struct urb *urb) |
651 | { | 651 | { |
652 | int status; | 652 | int status; |
653 | unsigned char *data; | 653 | unsigned char *data; |
@@ -726,8 +726,7 @@ static void mos7840_bulk_in_callback(struct urb *urb, struct pt_regs *regs) | |||
726 | * on the bulk out endpoint. | 726 | * on the bulk out endpoint. |
727 | *****************************************************************************/ | 727 | *****************************************************************************/ |
728 | 728 | ||
729 | static void mos7840_bulk_out_data_callback(struct urb *urb, | 729 | static void mos7840_bulk_out_data_callback(struct urb *urb) |
730 | struct pt_regs *regs) | ||
731 | { | 730 | { |
732 | struct moschip_port *mos7840_port; | 731 | struct moschip_port *mos7840_port; |
733 | struct tty_struct *tty; | 732 | struct tty_struct *tty; |