summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-11-28 09:30:27 -0500
committerTom Rini <trini@konsulko.com>2017-11-28 09:30:27 -0500
commit53fe692652c8777d10334f64f8dce308b539df91 (patch)
tree3e7f5834800d5024227fefb9c23724581fec7f7d /common
parent73a01d90c0b2ed2527283f289f73d69ef52cafa5 (diff)
parent11f4678962960636f1a07cea8d040f468463f8c3 (diff)
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'common')
-rw-r--r--common/usb_hub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/usb_hub.c b/common/usb_hub.c
index 325d16dfc8..024dadb277 100644
--- a/common/usb_hub.c
+++ b/common/usb_hub.c
@@ -57,7 +57,7 @@ struct usb_device_scan {
static LIST_HEAD(usb_scan_list);
-__weak void usb_hub_reset_devices(int port)
+__weak void usb_hub_reset_devices(struct usb_hub_device *hub, int port)
{
return;
}
@@ -853,7 +853,7 @@ static int usb_hub_configure(struct usb_device *dev)
* should occur in the board file of the device.
*/
for (i = 0; i < dev->maxchild; i++)
- usb_hub_reset_devices(i + 1);
+ usb_hub_reset_devices(hub, i + 1);
/*
* Only add the connected USB devices, including potential hubs,