projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: core: Access device ofnode through functions
[platform/kernel/u-boot.git]
/
drivers
/
usb
/
dwc3
/
dwc3-meson-gxl.c
diff --git
a/drivers/usb/dwc3/dwc3-meson-gxl.c
b/drivers/usb/dwc3/dwc3-meson-gxl.c
index
b63cc23
..
08467d6
100644
(file)
--- a/
drivers/usb/dwc3/dwc3-meson-gxl.c
+++ b/
drivers/usb/dwc3/dwc3-meson-gxl.c
@@
-338,7
+338,7
@@
static int dwc3_meson_gxl_probe(struct udevice *dev)
if (ret)
return ret;
- priv->otg_mode = usb_get_dr_mode(dev
->node
);
+ priv->otg_mode = usb_get_dr_mode(dev
_ofnode(dev)
);
if (priv->otg_mode == USB_DR_MODE_PERIPHERAL)
priv->otg_phy_mode = USB_DR_MODE_PERIPHERAL;