summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-omap-otg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/phy/phy-omap-otg.c')
-rw-r--r--drivers/usb/phy/phy-omap-otg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-omap-otg.c b/drivers/usb/phy/phy-omap-otg.c
index 6f6d2a7fd5a0..6523af4f8f93 100644
--- a/drivers/usb/phy/phy-omap-otg.c
+++ b/drivers/usb/phy/phy-omap-otg.c
@@ -140,6 +140,8 @@ static int omap_otg_probe(struct platform_device *pdev)
(rev >> 4) & 0xf, rev & 0xf, config->extcon, otg_dev->id,
otg_dev->vbus);
+ platform_set_drvdata(pdev, otg_dev);
+
return 0;
}