diff options
Diffstat (limited to 'drivers/usb/musb/musb_gadget.c')
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 0524a34be3c7..3a1793663d91 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -1703,7 +1703,7 @@ static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) | |||
1703 | 1703 | ||
1704 | if (!musb->xceiv->set_power) | 1704 | if (!musb->xceiv->set_power) |
1705 | return -EOPNOTSUPP; | 1705 | return -EOPNOTSUPP; |
1706 | return otg_set_power(musb->xceiv, mA); | 1706 | return usb_phy_set_power(musb->xceiv, mA); |
1707 | } | 1707 | } |
1708 | 1708 | ||
1709 | static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) | 1709 | static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) |