mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 10:12:14 +02:00
gdsys_rxaui_ctrl: Use new regmap interface
For the DM case, use the proper parameter for the regmap_init_mem call (which is the ofnode, not the udevice). Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
@@ -59,7 +59,7 @@ int gdsys_rxaui_ctrl_probe(struct udevice *dev)
|
|||||||
{
|
{
|
||||||
struct gdsys_rxaui_ctrl_priv *priv = dev_get_priv(dev);
|
struct gdsys_rxaui_ctrl_priv *priv = dev_get_priv(dev);
|
||||||
|
|
||||||
regmap_init_mem(dev, &priv->map);
|
regmap_init_mem(dev_ofnode(dev), &priv->map);
|
||||||
|
|
||||||
priv->state = false;
|
priv->state = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user