summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-09-16 12:14:08 -0400
committerTom Rini <[email protected]>2023-09-16 12:14:08 -0400
commit8fcd28aae590cdca86f497f1e2431f6e4af1b268 (patch)
tree3daf43bed41e1ff8eed9f8e1a020bf10319e9095 /arch
parent2fe4b54556ea6271237b35de68dc458bfceab94c (diff)
parent2caf974b5fac69a1b778e64503f2c107a8d7c3a3 (diff)
Merge branch 'next' of git://source.denx.de/u-boot-usb into next
- Rework gadget device handling
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rockchip/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c
index 8d7b39ba157..57f08e0be0e 100644
--- a/arch/arm/mach-rockchip/board.c
+++ b/arch/arm/mach-rockchip/board.c
@@ -299,9 +299,9 @@ static struct dwc3_device dwc3_device_data = {
.hsphy_mode = USBPHY_INTERFACE_MODE_UTMIW,
};
-int usb_gadget_handle_interrupts(int index)
+int dm_usb_gadget_handle_interrupts(struct udevice *dev)
{
- dwc3_uboot_handle_interrupt(0);
+ dwc3_uboot_handle_interrupt(dev);
return 0;
}