diff options
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 64ccbc7245..9b36cc76de 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -663,7 +663,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; |