diff options
Diffstat (limited to 'kernel/drivers/usb/phy/phy-tegra-usb.c')
-rw-r--r-- | kernel/drivers/usb/phy/phy-tegra-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/usb/phy/phy-tegra-usb.c b/kernel/drivers/usb/phy/phy-tegra-usb.c index ab025b009..5fe4a5704 100644 --- a/kernel/drivers/usb/phy/phy-tegra-usb.c +++ b/kernel/drivers/usb/phy/phy-tegra-usb.c @@ -1029,7 +1029,7 @@ static int tegra_usb_phy_probe(struct platform_device *pdev) } if (of_find_property(np, "dr_mode", NULL)) - tegra_phy->mode = of_usb_get_dr_mode(np); + tegra_phy->mode = usb_get_dr_mode(&pdev->dev); else tegra_phy->mode = USB_DR_MODE_HOST; |