diff options
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r-- | drivers/usb/misc/adutux.c | 4 | ||||
-rw-r--r-- | drivers/usb/misc/appledisplay.c | 2 | ||||
-rw-r--r-- | drivers/usb/misc/auerswald.c | 30 | ||||
-rw-r--r-- | drivers/usb/misc/ftdi-elan.c | 2 | ||||
-rw-r--r-- | drivers/usb/misc/ldusb.c | 4 | ||||
-rw-r--r-- | drivers/usb/misc/legousbtower.c | 8 | ||||
-rw-r--r-- | drivers/usb/misc/phidgetkit.c | 2 | ||||
-rw-r--r-- | drivers/usb/misc/phidgetmotorcontrol.c | 2 | ||||
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb.c | 4 | ||||
-rw-r--r-- | drivers/usb/misc/usblcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/misc/usbtest.c | 8 | ||||
-rw-r--r-- | drivers/usb/misc/uss720.c | 4 |
12 files changed, 36 insertions, 36 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index d3963199b6ec..aecd633fe9f6 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c | |||
@@ -177,7 +177,7 @@ static void adu_delete(struct adu_device *dev) | |||
177 | dbg(2, "%s : leave", __FUNCTION__); | 177 | dbg(2, "%s : leave", __FUNCTION__); |
178 | } | 178 | } |
179 | 179 | ||
180 | static void adu_interrupt_in_callback(struct urb *urb, struct pt_regs *regs) | 180 | static void adu_interrupt_in_callback(struct urb *urb) |
181 | { | 181 | { |
182 | struct adu_device *dev = urb->context; | 182 | struct adu_device *dev = urb->context; |
183 | 183 | ||
@@ -221,7 +221,7 @@ exit: | |||
221 | dbg(4," %s : leave, status %d", __FUNCTION__, urb->status); | 221 | dbg(4," %s : leave, status %d", __FUNCTION__, urb->status); |
222 | } | 222 | } |
223 | 223 | ||
224 | static void adu_interrupt_out_callback(struct urb *urb, struct pt_regs *regs) | 224 | static void adu_interrupt_out_callback(struct urb *urb) |
225 | { | 225 | { |
226 | struct adu_device *dev = urb->context; | 226 | struct adu_device *dev = urb->context; |
227 | 227 | ||
diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index fc6cc147996f..6b23a1def9fe 100644 --- a/drivers/usb/misc/appledisplay.c +++ b/drivers/usb/misc/appledisplay.c | |||
@@ -84,7 +84,7 @@ struct appledisplay { | |||
84 | static atomic_t count_displays = ATOMIC_INIT(0); | 84 | static atomic_t count_displays = ATOMIC_INIT(0); |
85 | static struct workqueue_struct *wq; | 85 | static struct workqueue_struct *wq; |
86 | 86 | ||
87 | static void appledisplay_complete(struct urb *urb, struct pt_regs *regs) | 87 | static void appledisplay_complete(struct urb *urb) |
88 | { | 88 | { |
89 | struct appledisplay *pdata = urb->context; | 89 | struct appledisplay *pdata = urb->context; |
90 | unsigned long flags; | 90 | unsigned long flags; |
diff --git a/drivers/usb/misc/auerswald.c b/drivers/usb/misc/auerswald.c index 4fd2110b3411..0be9d62d62ae 100644 --- a/drivers/usb/misc/auerswald.c +++ b/drivers/usb/misc/auerswald.c | |||
@@ -267,7 +267,7 @@ typedef struct | |||
267 | 267 | ||
268 | /*-------------------------------------------------------------------*/ | 268 | /*-------------------------------------------------------------------*/ |
269 | /* Forwards */ | 269 | /* Forwards */ |
270 | static void auerswald_ctrlread_complete (struct urb * urb, struct pt_regs *regs); | 270 | static void auerswald_ctrlread_complete (struct urb * urb); |
271 | static void auerswald_removeservice (pauerswald_t cp, pauerscon_t scp); | 271 | static void auerswald_removeservice (pauerswald_t cp, pauerscon_t scp); |
272 | static struct usb_driver auerswald_driver; | 272 | static struct usb_driver auerswald_driver; |
273 | 273 | ||
@@ -277,7 +277,7 @@ static struct usb_driver auerswald_driver; | |||
277 | /* -------------------------- */ | 277 | /* -------------------------- */ |
278 | 278 | ||
279 | /* completion function for chained urbs */ | 279 | /* completion function for chained urbs */ |
280 | static void auerchain_complete (struct urb * urb, struct pt_regs *regs) | 280 | static void auerchain_complete (struct urb * urb) |
281 | { | 281 | { |
282 | unsigned long flags; | 282 | unsigned long flags; |
283 | int result; | 283 | int result; |
@@ -296,7 +296,7 @@ static void auerchain_complete (struct urb * urb, struct pt_regs *regs) | |||
296 | NOTE: this function may lead to more urbs submitted into the chain. | 296 | NOTE: this function may lead to more urbs submitted into the chain. |
297 | (no chain lock at calling complete()!) | 297 | (no chain lock at calling complete()!) |
298 | acp->active != NULL is protecting us against recursion.*/ | 298 | acp->active != NULL is protecting us against recursion.*/ |
299 | urb->complete (urb, regs); | 299 | urb->complete (urb); |
300 | 300 | ||
301 | /* detach element from chain data structure */ | 301 | /* detach element from chain data structure */ |
302 | spin_lock_irqsave (&acp->lock, flags); | 302 | spin_lock_irqsave (&acp->lock, flags); |
@@ -331,7 +331,7 @@ static void auerchain_complete (struct urb * urb, struct pt_regs *regs) | |||
331 | urb->status = result; | 331 | urb->status = result; |
332 | dbg("auerchain_complete: usb_submit_urb with error code %d", result); | 332 | dbg("auerchain_complete: usb_submit_urb with error code %d", result); |
333 | /* and do error handling via *this* completion function (recursive) */ | 333 | /* and do error handling via *this* completion function (recursive) */ |
334 | auerchain_complete( urb, NULL); | 334 | auerchain_complete( urb); |
335 | } | 335 | } |
336 | } else { | 336 | } else { |
337 | /* simple return without submitting a new urb. | 337 | /* simple return without submitting a new urb. |
@@ -408,7 +408,7 @@ static int auerchain_submit_urb_list (pauerchain_t acp, struct urb * urb, int ea | |||
408 | urb->status = result; | 408 | urb->status = result; |
409 | dbg("auerchain_submit_urb: usb_submit_urb with error code %d", result); | 409 | dbg("auerchain_submit_urb: usb_submit_urb with error code %d", result); |
410 | /* and do error handling via completion function */ | 410 | /* and do error handling via completion function */ |
411 | auerchain_complete( urb, NULL); | 411 | auerchain_complete( urb); |
412 | } | 412 | } |
413 | } | 413 | } |
414 | 414 | ||
@@ -448,7 +448,7 @@ static int auerchain_unlink_urb (pauerchain_t acp, struct urb * urb) | |||
448 | spin_unlock_irqrestore (&acp->lock, flags); | 448 | spin_unlock_irqrestore (&acp->lock, flags); |
449 | dbg ("unlink waiting urb"); | 449 | dbg ("unlink waiting urb"); |
450 | urb->status = -ENOENT; | 450 | urb->status = -ENOENT; |
451 | urb->complete (urb, NULL); | 451 | urb->complete (urb); |
452 | return 0; | 452 | return 0; |
453 | } | 453 | } |
454 | } | 454 | } |
@@ -505,7 +505,7 @@ static void auerchain_unlink_all (pauerchain_t acp) | |||
505 | spin_unlock_irqrestore (&acp->lock, flags); | 505 | spin_unlock_irqrestore (&acp->lock, flags); |
506 | dbg ("unlink waiting urb"); | 506 | dbg ("unlink waiting urb"); |
507 | urbp->status = -ENOENT; | 507 | urbp->status = -ENOENT; |
508 | urbp->complete (urbp, NULL); | 508 | urbp->complete (urbp); |
509 | spin_lock_irqsave (&acp->lock, flags); | 509 | spin_lock_irqsave (&acp->lock, flags); |
510 | } | 510 | } |
511 | spin_unlock_irqrestore (&acp->lock, flags); | 511 | spin_unlock_irqrestore (&acp->lock, flags); |
@@ -591,7 +591,7 @@ ac_fail:/* free the elements */ | |||
591 | 591 | ||
592 | 592 | ||
593 | /* completion handler for synchronous chained URBs */ | 593 | /* completion handler for synchronous chained URBs */ |
594 | static void auerchain_blocking_completion (struct urb *urb, struct pt_regs *regs) | 594 | static void auerchain_blocking_completion (struct urb *urb) |
595 | { | 595 | { |
596 | pauerchain_chs_t pchs = (pauerchain_chs_t)urb->context; | 596 | pauerchain_chs_t pchs = (pauerchain_chs_t)urb->context; |
597 | pchs->done = 1; | 597 | pchs->done = 1; |
@@ -846,7 +846,7 @@ static int auerswald_status_retry (int status) | |||
846 | } | 846 | } |
847 | 847 | ||
848 | /* Completion of asynchronous write block */ | 848 | /* Completion of asynchronous write block */ |
849 | static void auerchar_ctrlwrite_complete (struct urb * urb, struct pt_regs *regs) | 849 | static void auerchar_ctrlwrite_complete (struct urb * urb) |
850 | { | 850 | { |
851 | pauerbuf_t bp = (pauerbuf_t) urb->context; | 851 | pauerbuf_t bp = (pauerbuf_t) urb->context; |
852 | pauerswald_t cp = ((pauerswald_t)((char *)(bp->list)-(unsigned long)(&((pauerswald_t)0)->bufctl))); | 852 | pauerswald_t cp = ((pauerswald_t)((char *)(bp->list)-(unsigned long)(&((pauerswald_t)0)->bufctl))); |
@@ -859,7 +859,7 @@ static void auerchar_ctrlwrite_complete (struct urb * urb, struct pt_regs *regs) | |||
859 | } | 859 | } |
860 | 860 | ||
861 | /* Completion handler for dummy retry packet */ | 861 | /* Completion handler for dummy retry packet */ |
862 | static void auerswald_ctrlread_wretcomplete (struct urb * urb, struct pt_regs *regs) | 862 | static void auerswald_ctrlread_wretcomplete (struct urb * urb) |
863 | { | 863 | { |
864 | pauerbuf_t bp = (pauerbuf_t) urb->context; | 864 | pauerbuf_t bp = (pauerbuf_t) urb->context; |
865 | pauerswald_t cp; | 865 | pauerswald_t cp; |
@@ -893,12 +893,12 @@ static void auerswald_ctrlread_wretcomplete (struct urb * urb, struct pt_regs *r | |||
893 | if (ret) { | 893 | if (ret) { |
894 | dbg ("auerswald_ctrlread_complete: nonzero result of auerchain_submit_urb_list %d", ret); | 894 | dbg ("auerswald_ctrlread_complete: nonzero result of auerchain_submit_urb_list %d", ret); |
895 | bp->urbp->status = ret; | 895 | bp->urbp->status = ret; |
896 | auerswald_ctrlread_complete (bp->urbp, NULL); | 896 | auerswald_ctrlread_complete (bp->urbp); |
897 | } | 897 | } |
898 | } | 898 | } |
899 | 899 | ||
900 | /* completion handler for receiving of control messages */ | 900 | /* completion handler for receiving of control messages */ |
901 | static void auerswald_ctrlread_complete (struct urb * urb, struct pt_regs *regs) | 901 | static void auerswald_ctrlread_complete (struct urb * urb) |
902 | { | 902 | { |
903 | unsigned int serviceid; | 903 | unsigned int serviceid; |
904 | pauerswald_t cp; | 904 | pauerswald_t cp; |
@@ -941,7 +941,7 @@ static void auerswald_ctrlread_complete (struct urb * urb, struct pt_regs *regs) | |||
941 | if (ret) { | 941 | if (ret) { |
942 | dbg ("auerswald_ctrlread_complete: nonzero result of auerchain_submit_urb_list %d", ret); | 942 | dbg ("auerswald_ctrlread_complete: nonzero result of auerchain_submit_urb_list %d", ret); |
943 | bp->urbp->status = ret; | 943 | bp->urbp->status = ret; |
944 | auerswald_ctrlread_wretcomplete (bp->urbp, regs); | 944 | auerswald_ctrlread_wretcomplete (bp->urbp); |
945 | } | 945 | } |
946 | return; | 946 | return; |
947 | } | 947 | } |
@@ -970,7 +970,7 @@ static void auerswald_ctrlread_complete (struct urb * urb, struct pt_regs *regs) | |||
970 | messages from the USB device. | 970 | messages from the USB device. |
971 | */ | 971 | */ |
972 | /* int completion handler. */ | 972 | /* int completion handler. */ |
973 | static void auerswald_int_complete (struct urb * urb, struct pt_regs *regs) | 973 | static void auerswald_int_complete (struct urb * urb) |
974 | { | 974 | { |
975 | unsigned long flags; | 975 | unsigned long flags; |
976 | unsigned int channelid; | 976 | unsigned int channelid; |
@@ -1070,7 +1070,7 @@ static void auerswald_int_complete (struct urb * urb, struct pt_regs *regs) | |||
1070 | if (ret) { | 1070 | if (ret) { |
1071 | dbg ("auerswald_int_complete: nonzero result of auerchain_submit_urb %d", ret); | 1071 | dbg ("auerswald_int_complete: nonzero result of auerchain_submit_urb %d", ret); |
1072 | bp->urbp->status = ret; | 1072 | bp->urbp->status = ret; |
1073 | auerswald_ctrlread_complete( bp->urbp, NULL); | 1073 | auerswald_ctrlread_complete( bp->urbp); |
1074 | /* here applies the same problem as above: device locking! */ | 1074 | /* here applies the same problem as above: device locking! */ |
1075 | } | 1075 | } |
1076 | exit: | 1076 | exit: |
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index c6f2f488a40f..0eb26a26115b 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -758,7 +758,7 @@ static ssize_t ftdi_elan_read(struct file *file, char __user *buffer, | |||
758 | return bytes_read; | 758 | return bytes_read; |
759 | } | 759 | } |
760 | 760 | ||
761 | static void ftdi_elan_write_bulk_callback(struct urb *urb, struct pt_regs *regs) | 761 | static void ftdi_elan_write_bulk_callback(struct urb *urb) |
762 | { | 762 | { |
763 | struct usb_ftdi *ftdi = (struct usb_ftdi *)urb->context; | 763 | struct usb_ftdi *ftdi = (struct usb_ftdi *)urb->context; |
764 | if (urb->status && !(urb->status == -ENOENT || urb->status == | 764 | if (urb->status && !(urb->status == -ENOENT || urb->status == |
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c index 10b640339d8d..788a11e6772f 100644 --- a/drivers/usb/misc/ldusb.c +++ b/drivers/usb/misc/ldusb.c | |||
@@ -212,7 +212,7 @@ static void ld_usb_delete(struct ld_usb *dev) | |||
212 | /** | 212 | /** |
213 | * ld_usb_interrupt_in_callback | 213 | * ld_usb_interrupt_in_callback |
214 | */ | 214 | */ |
215 | static void ld_usb_interrupt_in_callback(struct urb *urb, struct pt_regs *regs) | 215 | static void ld_usb_interrupt_in_callback(struct urb *urb) |
216 | { | 216 | { |
217 | struct ld_usb *dev = urb->context; | 217 | struct ld_usb *dev = urb->context; |
218 | size_t *actual_buffer; | 218 | size_t *actual_buffer; |
@@ -264,7 +264,7 @@ exit: | |||
264 | /** | 264 | /** |
265 | * ld_usb_interrupt_out_callback | 265 | * ld_usb_interrupt_out_callback |
266 | */ | 266 | */ |
267 | static void ld_usb_interrupt_out_callback(struct urb *urb, struct pt_regs *regs) | 267 | static void ld_usb_interrupt_out_callback(struct urb *urb) |
268 | { | 268 | { |
269 | struct ld_usb *dev = urb->context; | 269 | struct ld_usb *dev = urb->context; |
270 | 270 | ||
diff --git a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousbtower.c index 77c36e63c7bf..27089497e717 100644 --- a/drivers/usb/misc/legousbtower.c +++ b/drivers/usb/misc/legousbtower.c | |||
@@ -248,8 +248,8 @@ static loff_t tower_llseek (struct file *file, loff_t off, int whence); | |||
248 | 248 | ||
249 | static void tower_abort_transfers (struct lego_usb_tower *dev); | 249 | static void tower_abort_transfers (struct lego_usb_tower *dev); |
250 | static void tower_check_for_read_packet (struct lego_usb_tower *dev); | 250 | static void tower_check_for_read_packet (struct lego_usb_tower *dev); |
251 | static void tower_interrupt_in_callback (struct urb *urb, struct pt_regs *regs); | 251 | static void tower_interrupt_in_callback (struct urb *urb); |
252 | static void tower_interrupt_out_callback (struct urb *urb, struct pt_regs *regs); | 252 | static void tower_interrupt_out_callback (struct urb *urb); |
253 | 253 | ||
254 | static int tower_probe (struct usb_interface *interface, const struct usb_device_id *id); | 254 | static int tower_probe (struct usb_interface *interface, const struct usb_device_id *id); |
255 | static void tower_disconnect (struct usb_interface *interface); | 255 | static void tower_disconnect (struct usb_interface *interface); |
@@ -755,7 +755,7 @@ exit: | |||
755 | /** | 755 | /** |
756 | * tower_interrupt_in_callback | 756 | * tower_interrupt_in_callback |
757 | */ | 757 | */ |
758 | static void tower_interrupt_in_callback (struct urb *urb, struct pt_regs *regs) | 758 | static void tower_interrupt_in_callback (struct urb *urb) |
759 | { | 759 | { |
760 | struct lego_usb_tower *dev = (struct lego_usb_tower *)urb->context; | 760 | struct lego_usb_tower *dev = (struct lego_usb_tower *)urb->context; |
761 | int retval; | 761 | int retval; |
@@ -811,7 +811,7 @@ exit: | |||
811 | /** | 811 | /** |
812 | * tower_interrupt_out_callback | 812 | * tower_interrupt_out_callback |
813 | */ | 813 | */ |
814 | static void tower_interrupt_out_callback (struct urb *urb, struct pt_regs *regs) | 814 | static void tower_interrupt_out_callback (struct urb *urb) |
815 | { | 815 | { |
816 | struct lego_usb_tower *dev = (struct lego_usb_tower *)urb->context; | 816 | struct lego_usb_tower *dev = (struct lego_usb_tower *)urb->context; |
817 | 817 | ||
diff --git a/drivers/usb/misc/phidgetkit.c b/drivers/usb/misc/phidgetkit.c index 78e419904abf..abb4dcd811ac 100644 --- a/drivers/usb/misc/phidgetkit.c +++ b/drivers/usb/misc/phidgetkit.c | |||
@@ -300,7 +300,7 @@ out: | |||
300 | 300 | ||
301 | static DEVICE_ATTR(lcd, S_IWUGO, NULL, enable_lcd_files); | 301 | static DEVICE_ATTR(lcd, S_IWUGO, NULL, enable_lcd_files); |
302 | 302 | ||
303 | static void interfacekit_irq(struct urb *urb, struct pt_regs *regs) | 303 | static void interfacekit_irq(struct urb *urb) |
304 | { | 304 | { |
305 | struct interfacekit *kit = urb->context; | 305 | struct interfacekit *kit = urb->context; |
306 | unsigned char *buffer = kit->data; | 306 | unsigned char *buffer = kit->data; |
diff --git a/drivers/usb/misc/phidgetmotorcontrol.c b/drivers/usb/misc/phidgetmotorcontrol.c index 6b59b620d616..5c780cab92e0 100644 --- a/drivers/usb/misc/phidgetmotorcontrol.c +++ b/drivers/usb/misc/phidgetmotorcontrol.c | |||
@@ -90,7 +90,7 @@ static int set_motor(struct motorcontrol *mc, int motor) | |||
90 | return retval < 0 ? retval : 0; | 90 | return retval < 0 ? retval : 0; |
91 | } | 91 | } |
92 | 92 | ||
93 | static void motorcontrol_irq(struct urb *urb, struct pt_regs *regs) | 93 | static void motorcontrol_irq(struct urb *urb) |
94 | { | 94 | { |
95 | struct motorcontrol *mc = urb->context; | 95 | struct motorcontrol *mc = urb->context; |
96 | unsigned char *buffer = mc->data; | 96 | unsigned char *buffer = mc->data; |
diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index a287836e39f1..b99ca9c79821 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/misc/sisusbvga/sisusb.c | |||
@@ -209,7 +209,7 @@ sisusb_free_outbuf(struct sisusb_usb_data *sisusb, int index) | |||
209 | /* completion callback */ | 209 | /* completion callback */ |
210 | 210 | ||
211 | static void | 211 | static void |
212 | sisusb_bulk_completeout(struct urb *urb, struct pt_regs *regs) | 212 | sisusb_bulk_completeout(struct urb *urb) |
213 | { | 213 | { |
214 | struct sisusb_urb_context *context = urb->context; | 214 | struct sisusb_urb_context *context = urb->context; |
215 | struct sisusb_usb_data *sisusb; | 215 | struct sisusb_usb_data *sisusb; |
@@ -288,7 +288,7 @@ sisusb_bulkout_msg(struct sisusb_usb_data *sisusb, int index, unsigned int pipe, | |||
288 | /* completion callback */ | 288 | /* completion callback */ |
289 | 289 | ||
290 | static void | 290 | static void |
291 | sisusb_bulk_completein(struct urb *urb, struct pt_regs *regs) | 291 | sisusb_bulk_completein(struct urb *urb) |
292 | { | 292 | { |
293 | struct sisusb_usb_data *sisusb = urb->context; | 293 | struct sisusb_usb_data *sisusb = urb->context; |
294 | 294 | ||
diff --git a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c index dbaca9f1efad..ada2ebc464ae 100644 --- a/drivers/usb/misc/usblcd.c +++ b/drivers/usb/misc/usblcd.c | |||
@@ -165,7 +165,7 @@ static int lcd_ioctl(struct inode *inode, struct file *file, unsigned int cmd, u | |||
165 | return 0; | 165 | return 0; |
166 | } | 166 | } |
167 | 167 | ||
168 | static void lcd_write_bulk_callback(struct urb *urb, struct pt_regs *regs) | 168 | static void lcd_write_bulk_callback(struct urb *urb) |
169 | { | 169 | { |
170 | struct usb_lcd *dev; | 170 | struct usb_lcd *dev; |
171 | 171 | ||
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c index 983e104dd452..7c2cbdf81d20 100644 --- a/drivers/usb/misc/usbtest.c +++ b/drivers/usb/misc/usbtest.c | |||
@@ -198,7 +198,7 @@ found: | |||
198 | * them with non-zero test data (or test for it) when appropriate. | 198 | * them with non-zero test data (or test for it) when appropriate. |
199 | */ | 199 | */ |
200 | 200 | ||
201 | static void simple_callback (struct urb *urb, struct pt_regs *regs) | 201 | static void simple_callback (struct urb *urb) |
202 | { | 202 | { |
203 | complete ((struct completion *) urb->context); | 203 | complete ((struct completion *) urb->context); |
204 | } | 204 | } |
@@ -730,7 +730,7 @@ struct subcase { | |||
730 | int expected; | 730 | int expected; |
731 | }; | 731 | }; |
732 | 732 | ||
733 | static void ctrl_complete (struct urb *urb, struct pt_regs *regs) | 733 | static void ctrl_complete (struct urb *urb) |
734 | { | 734 | { |
735 | struct ctrl_ctx *ctx = urb->context; | 735 | struct ctrl_ctx *ctx = urb->context; |
736 | struct usb_ctrlrequest *reqp; | 736 | struct usb_ctrlrequest *reqp; |
@@ -1035,7 +1035,7 @@ cleanup: | |||
1035 | 1035 | ||
1036 | /*-------------------------------------------------------------------------*/ | 1036 | /*-------------------------------------------------------------------------*/ |
1037 | 1037 | ||
1038 | static void unlink1_callback (struct urb *urb, struct pt_regs *regs) | 1038 | static void unlink1_callback (struct urb *urb) |
1039 | { | 1039 | { |
1040 | int status = urb->status; | 1040 | int status = urb->status; |
1041 | 1041 | ||
@@ -1343,7 +1343,7 @@ struct iso_context { | |||
1343 | struct usbtest_dev *dev; | 1343 | struct usbtest_dev *dev; |
1344 | }; | 1344 | }; |
1345 | 1345 | ||
1346 | static void iso_callback (struct urb *urb, struct pt_regs *regs) | 1346 | static void iso_callback (struct urb *urb) |
1347 | { | 1347 | { |
1348 | struct iso_context *ctx = urb->context; | 1348 | struct iso_context *ctx = urb->context; |
1349 | 1349 | ||
diff --git a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c index 4081990b7d1a..7e8a0acd52ee 100644 --- a/drivers/usb/misc/uss720.c +++ b/drivers/usb/misc/uss720.c | |||
@@ -106,7 +106,7 @@ static void destroy_async(struct kref *kref) | |||
106 | 106 | ||
107 | /* --------------------------------------------------------------------- */ | 107 | /* --------------------------------------------------------------------- */ |
108 | 108 | ||
109 | static void async_complete(struct urb *urb, struct pt_regs *ptregs) | 109 | static void async_complete(struct urb *urb) |
110 | { | 110 | { |
111 | struct uss720_async_request *rq; | 111 | struct uss720_async_request *rq; |
112 | struct parport *pp; | 112 | struct parport *pp; |
@@ -127,7 +127,7 @@ static void async_complete(struct urb *urb, struct pt_regs *ptregs) | |||
127 | #endif | 127 | #endif |
128 | /* if nAck interrupts are enabled and we have an interrupt, call the interrupt procedure */ | 128 | /* if nAck interrupts are enabled and we have an interrupt, call the interrupt procedure */ |
129 | if (rq->reg[2] & rq->reg[1] & 0x10 && pp) | 129 | if (rq->reg[2] & rq->reg[1] & 0x10 && pp) |
130 | parport_generic_irq(0, pp, NULL); | 130 | parport_generic_irq(0, pp); |
131 | } | 131 | } |
132 | complete(&rq->compl); | 132 | complete(&rq->compl); |
133 | kref_put(&rq->ref_count, destroy_async); | 133 | kref_put(&rq->ref_count, destroy_async); |