mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00: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:
parent
ca0eab2dcf
commit
935a89241c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue