Message ID | 1431798731-28845-1-git-send-email-contact@paulk.fr |
---|---|
State | Accepted |
Delegated to: | Hans de Goede |
Headers | show |
Hi, Thanks for these 2 fixes, I've added both to my personal tree. I'll send a pull-req to get these into u-boot/master soon. Regards, Hans On 05/16/2015 07:52 PM, Paul Kocialkowski wrote: > 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> > --- > board/sunxi/board.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 > >
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
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> --- board/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)