aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/am35x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/am35x.c')
-rw-r--r--drivers/usb/musb/am35x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
index cb942b6cfe2b..ba96740de896 100644
--- a/drivers/usb/musb/am35x.c
+++ b/drivers/usb/musb/am35x.c
@@ -364,7 +364,7 @@ static int am35x_musb_init(struct musb *musb)
364 return -ENODEV; 364 return -ENODEV;
365 365
366 usb_nop_xceiv_register(); 366 usb_nop_xceiv_register();
367 musb->xceiv = otg_get_transceiver(); 367 musb->xceiv = usb_get_transceiver();
368 if (!musb->xceiv) 368 if (!musb->xceiv)
369 return -ENODEV; 369 return -ENODEV;
370 370
@@ -406,7 +406,7 @@ static int am35x_musb_exit(struct musb *musb)
406 if (data->set_phy_power) 406 if (data->set_phy_power)
407 data->set_phy_power(0); 407 data->set_phy_power(0);
408 408
409 otg_put_transceiver(musb->xceiv); 409 usb_put_transceiver(musb->xceiv);
410 usb_nop_xceiv_unregister(); 410 usb_nop_xceiv_unregister();
411 411
412 return 0; 412 return 0;