projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: core: Access device ofnode through functions
[platform/kernel/u-boot.git]
/
net
/
mdio-mux-uclass.c
diff --git
a/net/mdio-mux-uclass.c
b/net/mdio-mux-uclass.c
index
5f38f9f
..
780526c
100644
(file)
--- a/
net/mdio-mux-uclass.c
+++ b/
net/mdio-mux-uclass.c
@@
-163,7
+163,7
@@
static int dm_mdio_mux_post_bind(struct udevice *mux)
ofnode ch_node;
int err, first_err = 0;
- if (!
ofnode_valid(mux->node
)) {
+ if (!
dev_has_ofnode(mux
)) {
debug("%s: no mux node found, no child MDIO busses set up\n",
__func__);
return 0;