summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-05-16 19:52:10 +0200
committerHans de Goede <hdegoede@redhat.com>2015-05-19 18:46:44 +0200
commit5bfdca0d4cebab34d3b81a4a8852d9ec3923b0b9 (patch)
tree752edab067325f1b521d7c4e3627ff9d3ac7f78f /board
parent2c68c8a409ef9b66db81e27e559c75823ebfc014 (diff)
downloadtalos-obmc-uboot-5bfdca0d4cebab34d3b81a4a8852d9ec3923b0b9.tar.gz
talos-obmc-uboot-5bfdca0d4cebab34d3b81a4a8852d9ec3923b0b9.zip
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 <contact@paulk.fr> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board')
-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 4c51468cf2..5f79cc1bb8 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
OpenPOWER on IntegriCloud