usb: musb: omap: make use of the new PHY lib APIs
[profile/ivi/kernel-x86-ivi.git] / drivers / usb / musb / omap2430.c
index 779862d..23df9d7 100644 (file)
@@ -345,7 +345,7 @@ static int omap2430_musb_init(struct musb *musb)
         * up through ULPI.  TWL4030-family PMICs include one,
         * which needs a driver, drivers aren't always needed.
         */
-       musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2);
+       musb->xceiv = devm_usb_get_phy_dev(dev, 0);
        if (IS_ERR_OR_NULL(musb->xceiv)) {
                pr_err("HS USB OTG: no transceiver configured\n");
                return -ENODEV;