]> git.sur5r.net Git - u-boot/blobdiff - drivers/phy/meson-gxl-usb2.c
imx_lpi2c: Update lpi2c driver to support imx8
[u-boot] / drivers / phy / meson-gxl-usb2.c
index de5a6ee82ab9132915017bd101d846aabac314c1..86e69c73ba26ba5b487ea4ff7b189c7c88aeac73 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Meson GXL and GXM USB2 PHY driver
  *
  * Copyright (C) 2017 Martin Blumenstingl <martin.blumenstingl@googlemail.com>
  * Copyright (C) 2018 BayLibre, SAS
  * Author: Neil Armstrong <narmstron@baylibre.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -193,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;