projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca0eab2
)
gdsys_rxaui_ctrl: Use new regmap interface
author
Mario Six
<mario.six@gdsys.cc>
Mon, 28 Jan 2019 08:47:42 +0000
(09:47 +0100)
committer
Mario Six
<mario.six@gdsys.cc>
Tue, 21 May 2019 05:52:34 +0000
(07:52 +0200)
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>
drivers/misc/gdsys_rxaui_ctrl.c
patch
|
blob
|
history
diff --git
a/drivers/misc/gdsys_rxaui_ctrl.c
b/drivers/misc/gdsys_rxaui_ctrl.c
index f2c955b13d7de440ce79ffd3ce9b6fd84c286260..c56abce4d4c13fafcbc3088adeb59c27b9d7459f 100644
(file)
--- a/
drivers/misc/gdsys_rxaui_ctrl.c
+++ b/
drivers/misc/gdsys_rxaui_ctrl.c
@@
-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;