From: Paul Kocialkowski Date: Sat, 16 May 2015 17:52:10 +0000 (+0200) Subject: sunxi: VBUS detection function fixup in g_dnl_board_usb_cable_connected X-Git-Tag: v2015.07-rc2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bfdca0d4cebab34d3b81a4a8852d9ec3923b0b9;p=pandora-u-boot.git sunxi: VBUS detection function fixup in g_dnl_board_usb_cable_connected sunxi_usbc_vbus_detect was renamed to sunxi_usb_phy_vbus_detect but g_dnl_board_usb_cable_connected was still using the old name, breaking the build when USB gadget is enabled. Signed-off-by: Paul Kocialkowski Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede --- diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 4c51468cf2b..5f79cc1bb82 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