diff options
| author | Tom Rini <[email protected]> | 2024-12-23 08:45:34 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-23 08:45:34 -0600 |
| commit | 0d05bd2058bc5f415f0e3460f961e6414877db5a (patch) | |
| tree | 6757b7c8f06cbe4e1116e76f3383fd821666690f /drivers | |
| parent | cfe57427c28763fd94e5bdcf89de9dabca4b1684 (diff) | |
| parent | 70da4f28592d0a2296b27a9126da97cc3b30891e (diff) | |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/rswitch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/rswitch.c b/drivers/net/rswitch.c index 97b5d1b75c1..57eff748c90 100644 --- a/drivers/net/rswitch.c +++ b/drivers/net/rswitch.c @@ -1113,6 +1113,9 @@ static int rswitch_bind(struct udevice *parent) return -ENOENT; ofnode_for_each_subnode(node, ports_np) { + if (!ofnode_is_enabled(node)) + continue; + ret = device_bind_with_driver_data(parent, drv, ofnode_get_name(node), (ulong)priv, node, &dev); |
