]> Git Repo - u-boot.git/blobdiff - net/mdio-mux-uclass.c
dm: core: Access device ofnode through functions
[u-boot.git] / net / mdio-mux-uclass.c
index 5f38f9fde4165058a176a5c7f2dad53bcb0e6f8e..780526c19e3f175d2f6368b5708174635efa5631 100644 (file)
@@ -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;
This page took 0.022136 seconds and 4 git commands to generate.