X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fusb%2Fphy%2Fphy-fsl-usb.c;h=e771bafb9f1da3375f9f0492493c973fe0862484;hb=59e618a6ceb79b81b2ed90fcb885f5f3fe2eec59;hp=97b9308507c3dae718828645a79069c6af2de46e;hpb=246e6a0d781091c4657890ffa497c2576bd99095;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/usb/phy/phy-fsl-usb.c b/drivers/usb/phy/phy-fsl-usb.c index 97b9308507c3..e771bafb9f1d 100644 --- a/drivers/usb/phy/phy-fsl-usb.c +++ b/drivers/usb/phy/phy-fsl-usb.c @@ -799,6 +799,7 @@ static int fsl_otg_conf(struct platform_device *pdev) /* initialize the otg structure */ fsl_otg_tc->phy.label = DRIVER_DESC; + fsl_otg_tc->phy.dev = &pdev->dev; fsl_otg_tc->phy.set_power = fsl_otg_set_power; fsl_otg_tc->phy.otg->phy = &fsl_otg_tc->phy;