aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/uhci-hcd.c')
-rw-r--r--drivers/usb/host/uhci-hcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c
index 53ba8a56592e..6b87bd74b046 100644
--- a/drivers/usb/host/uhci-hcd.c
+++ b/drivers/usb/host/uhci-hcd.c
@@ -634,14 +634,14 @@ static int uhci_start(struct usb_hcd *hcd)
634 goto err_alloc_root_hub; 634 goto err_alloc_root_hub;
635 } 635 }
636 636
637 uhci->term_td = uhci_alloc_td(uhci, udev); 637 uhci->term_td = uhci_alloc_td(uhci);
638 if (!uhci->term_td) { 638 if (!uhci->term_td) {
639 dev_err(uhci_dev(uhci), "unable to allocate terminating TD\n"); 639 dev_err(uhci_dev(uhci), "unable to allocate terminating TD\n");
640 goto err_alloc_term_td; 640 goto err_alloc_term_td;
641 } 641 }
642 642
643 for (i = 0; i < UHCI_NUM_SKELQH; i++) { 643 for (i = 0; i < UHCI_NUM_SKELQH; i++) {
644 uhci->skelqh[i] = uhci_alloc_qh(uhci, udev); 644 uhci->skelqh[i] = uhci_alloc_qh(uhci);
645 if (!uhci->skelqh[i]) { 645 if (!uhci->skelqh[i]) {
646 dev_err(uhci_dev(uhci), "unable to allocate QH\n"); 646 dev_err(uhci_dev(uhci), "unable to allocate QH\n");
647 goto err_alloc_skelqh; 647 goto err_alloc_skelqh;