mirror of
https://github.com/armbian/build.git
synced 2025-12-21 01:02:02 +01:00
16 lines
458 B
Diff
16 lines
458 B
Diff
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
|
|
index 598f444..fa5d584 100644
|
|
--- a/drivers/usb/host/ehci-hcd.c
|
|
+++ b/drivers/usb/host/ehci-hcd.c
|
|
@@ -1615,8 +1615,8 @@ int ehci_register(struct udevice *dev, struct ehci_hccr *hccr,
|
|
if (ret)
|
|
goto err;
|
|
|
|
- if (ops->init_after_reset) {
|
|
- ret = ops->init_after_reset(ctrl);
|
|
+ if (ctrl->ops.init_after_reset) {
|
|
+ ret = ctrl->ops.init_after_reset(ctrl);
|
|
if (ret)
|
|
goto err;
|
|
}
|