mx5 clocks: Fix MXC_FEC_CLK
[oweals/u-boot.git] / common / usb_hub.c
index 32750e8d050bf3a8cde05f6df0a6a3f9fb891057..e4a120120dc23d068686d0e69e6d8248f9b35308 100644 (file)
@@ -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;