summaryrefslogtreecommitdiff
path: root/board/sunxi/board.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-10 07:15:12 -0500
committerTom Rini <trini@konsulko.com>2018-12-10 07:15:12 -0500
commit48d299a799f8e60342f10309dc3d4eb8e4b453a1 (patch)
tree61176a4b76589978db8bc785727924f5af037e5e /board/sunxi/board.c
parent53287a89e90a842f7265446be89c3c6b2aff3271 (diff)
parent532ededd5cbff3d55e8c8e5b6377cec9e90f2152 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
- DWC3 and UDC cleanup
Diffstat (limited to 'board/sunxi/board.c')
-rw-r--r--board/sunxi/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 8e20dc7e43..917f5b18f6 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;