Hi Alan
kisskb is showing up a warning in drivers/usb/host/ehci-orion.c
which i think is from a change you made:
drivers/usb/host/ehci-orion.c:109:2: warning: passing argument 1 of
'ehci_setup' from incompatible pointer type [enabled by default]
diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c
index 82de107..3e41123 100644 (file)
--- a/drivers/usb/host/ehci-orion.c
+++ b/drivers/usb/host/ehci-orion.c
@@ -106,21 +106,10 @@ static int ehci_orion_setup(struct usb_hcd *hcd)
struct ehci_hcd *ehci = hcd_to_ehci(hcd);
int retval;
- hcd->has_tt = 1;
-
- retval = ehci_halt(ehci);
- if (retval)
- return retval;
-
- /*
- * data structure init
- */
- retval = ehci_init(hcd);
+ retval = ehci_setup(ehci);
if (retval)
return retval;
ehci_setup() is being passed a struct ehci_hcd *, but:
811 static int ehci_setup(struct usb_hcd *hcd)
812 {
813 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
814 int retval;
it seems to expect a struct usb_hcd *
Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html