This exhibits a build error when OHCI_VERBOSE_DEBUG is enabled:
Odd, I guess the build I tested was when that was enabled without first enabling debugging. The fix is trivial.
(Greg, please merge.)
- Dave
--- 1.61/drivers/usb/host/ohci-q.c Mon Feb 24 03:30:39 2003
+++ edited/drivers/usb/host/ohci-q.c Sat Mar 1 10:23:50 2003
@@ -650,7 +650,7 @@
/* calculate transfer length/status and update the urb
* PRECONDITION: irqsafe (only for urb->status locking)
*/
-static void td_done (struct urb *urb, struct td *td)
+static void td_done (struct ohci_hcd *ohci, struct urb *urb, struct td *td)
{
u32 tdINFO = le32_to_cpup (&td->hwINFO);
int cc = 0;
@@ -908,7 +908,7 @@
*prev = td->hwNextTD | savebits;
/* HC may have partly processed this TD */
- td_done (urb, td);
+ td_done (ohci, urb, td);
urb_priv->td_cnt++;
/* if URB is done, clean up */
@@ -991,7 +991,7 @@
struct ed *ed = td->ed;
/* update URB's length and status from TD */
- td_done (urb, td);
+ td_done (ohci, urb, td);
urb_priv->td_cnt++;
/* If all this urb's TDs are done, call complete() */
