Fix bus pointer for initial device

svn path=/trunk/; revision=15441
This commit is contained in:
Hervé Poussineau 2005-05-20 22:31:55 +00:00
parent b2eee5bb0e
commit 8d1c8a184f

View file

@ -2271,6 +2271,7 @@ static int __devinit uhci_start(struct usb_hcd *hcd)
err("unable to allocate root hub"); err("unable to allocate root hub");
goto err_alloc_root_hub; goto err_alloc_root_hub;
} }
hcd->pdev->bus = udev; /* Fix bus pointer for initial device */
uhci->term_td = uhci_alloc_td(uhci, udev); uhci->term_td = uhci_alloc_td(uhci, udev);
if (!uhci->term_td) { if (!uhci->term_td) {