diff options
author | Tom Rini <trini@konsulko.com> | 2018-12-10 07:15:12 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-10 07:15:12 -0500 |
commit | 48d299a799f8e60342f10309dc3d4eb8e4b453a1 (patch) | |
tree | 61176a4b76589978db8bc785727924f5af037e5e /board/sunxi | |
parent | 53287a89e90a842f7265446be89c3c6b2aff3271 (diff) | |
parent | 532ededd5cbff3d55e8c8e5b6377cec9e90f2152 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-usb
- DWC3 and UDC cleanup
Diffstat (limited to 'board/sunxi')
-rw-r--r-- | board/sunxi/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 8e20dc7e436..917f5b18f6b 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -665,7 +665,7 @@ int g_dnl_board_usb_cable_connected(void) struct phy phy; int ret; - ret = uclass_get_device(UCLASS_USB_DEV_GENERIC, 0, &dev); + ret = uclass_get_device(UCLASS_USB_GADGET_GENERIC, 0, &dev); if (ret) { pr_err("%s: Cannot find USB device\n", __func__); return ret; |