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:
parent
ca0eab2dcf
commit
935a89241c
@ -59,7 +59,7 @@ int gdsys_rxaui_ctrl_probe(struct udevice *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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user