- struct ohci_hcd *ohci;
-
- ohci = (struct ohci_hcd *) kmalloc (sizeof *ohci, GFP_KERNEL);
- if (ohci != 0) {
- memset (ohci, 0, sizeof (struct ohci_hcd));
- ohci->hcd.product_desc = "OHCI Host Controller";
- return &ohci->hcd;
- }
- return 0;
-}
-
-static void ohci_hcd_free (struct usb_hcd *hcd)
-{
- kfree (hcd_to_ohci (hcd));
+ ohci->next_statechange = jiffies;
+ spin_lock_init (&ohci->lock);
+ INIT_LIST_HEAD (&ohci->pending);
+ ohci->reboot_notifier.notifier_call = ohci_reboot;