[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] [PATCH] EHCI driver. Assign USB API structure address to global USB API pointer
Commit message:
Assign USB API structure address to global API pointer.
Index: sys/usb/src.km/ucd/ehci/ehci-hcd.c
===================================================================
RCS file: /mint/freemint/sys/usb/src.km/ucd/ehci/ehci-hcd.c,v
retrieving revision 1.6
diff -u -8 -r1.6 ehci-hcd.c
--- sys/usb/src.km/ucd/ehci/ehci-hcd.c 20 Oct 2014 15:00:47 -0000 1.6
+++ sys/usb/src.km/ucd/ehci/ehci-hcd.c 20 Oct 2014 16:06:36 -0000
@@ -1195,16 +1195,17 @@
long
init (struct kentry *k, struct usb_module_api *uapi, char **reason)
#endif
{
long ret;
kentry = k;
+ api = uapi;
struct ucdif *ehci_uif = NULL;
if (check_kentry_version())
{
*reason = fail_kentry;
return -1;
}