summaryrefslogtreecommitdiff
path: root/drivers/phy/meson-gxl-usb2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/meson-gxl-usb2.c')
-rw-r--r--drivers/phy/meson-gxl-usb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/meson-gxl-usb2.c b/drivers/phy/meson-gxl-usb2.c
index 7ea4fe797e..86e69c73ba 100644
--- a/drivers/phy/meson-gxl-usb2.c
+++ b/drivers/phy/meson-gxl-usb2.c
@@ -192,7 +192,7 @@ int meson_gxl_usb2_phy_probe(struct udevice *dev)
struct phy_meson_gxl_usb2_priv *priv = dev_get_priv(dev);
int ret;
- ret = regmap_init_mem(dev, &priv->regmap);
+ ret = regmap_init_mem(dev_ofnode(dev), &priv->regmap);
if (ret)
return ret;