summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4c51468..5f79cc1 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -476,7 +476,7 @@ static struct musb_hdrc_platform_data musb_plat = {
#ifdef CONFIG_USB_GADGET
int g_dnl_board_usb_cable_connected(void)
{
- return sunxi_usbc_vbus_detect(0);
+ return sunxi_usb_phy_vbus_detect(0);
}
#endif