X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fusb_hub.c;h=e4a120120dc23d068686d0e69e6d8248f9b35308;hb=320d53da605d67b9d95622c5c6bfd5ac2c17ed58;hp=32750e8d050bf3a8cde05f6df0a6a3f9fb891057;hpb=50d924b45911b24eeb7623bed11b9297d99b840a;p=u-boot diff --git a/common/usb_hub.c b/common/usb_hub.c index 32750e8d05..e4a120120d 100644 --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -244,7 +244,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port) mdelay(200); /* Allocate a new device struct for it */ - usb = usb_alloc_new_device(); + usb = usb_alloc_new_device(dev->controller); if (portstatus & USB_PORT_STAT_HIGH_SPEED) usb->speed = USB_SPEED_HIGH;