summaryrefslogtreecommitdiffstats
path: root/drivers/phy/usb-nop-xceiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/usb-nop-xceiv.c')
-rw-r--r--drivers/phy/usb-nop-xceiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/usb-nop-xceiv.c b/drivers/phy/usb-nop-xceiv.c
index 06a1ff9791..86849120b8 100644
--- a/drivers/phy/usb-nop-xceiv.c
+++ b/drivers/phy/usb-nop-xceiv.c
@@ -80,7 +80,7 @@ static int nop_usbphy_probe(struct device_d *dev)
if (IS_ERR(nopphy->clk))
nopphy->clk = NULL;
- nopphy->reset = of_get_named_gpio_flags(dev->device_node,
+ nopphy->reset = of_get_named_gpio_flags(dev->of_node,
"reset-gpios", 0, &of_flags);
if (gpio_is_valid(nopphy->reset)) {
/* assert reset */