Message ID | 20220523182549.30242-2-tharvey@gateworks.com |
---|---|
State | Changes Requested |
Delegated to: | Ramon Fried |
Headers | show |
Series | Add MV88E61xx DSA driver and use on gwventana | expand |
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c index 4401492ca015..d80037d0ac71 100644 --- a/net/mdio-uclass.c +++ b/net/mdio-uclass.c @@ -49,7 +49,11 @@ static int dm_mdio_post_bind(struct udevice *dev) return -EINVAL; } +#if CONFIG_IS_ENABLED(OF_REAL) + return dm_scan_fdt_dev(dev); +#else return 0; +#endif } int dm_mdio_read(struct udevice *mdio_dev, int addr, int devad, int reg)