diff options
| author | Simon Glass <[email protected]> | 2022-09-06 20:27:17 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-29 16:11:31 -0400 |
| commit | 8909066199281b86bf4ee7673ec6d7983dd12a26 (patch) | |
| tree | 8e2b25f62f29ad0e2a9252b41ce1e916b4ecac8d /net | |
| parent | 52ad21aa2cc55f53da19436f457a8590abf0d125 (diff) | |
dm: core: Drop ofnode_is_available()
This function is also available as ofnode_is_enabled(), so use that
instead.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'net')
| -rw-r--r-- | net/dsa-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa-uclass.c b/net/dsa-uclass.c index 3bf4351c847..5b7046432ff 100644 --- a/net/dsa-uclass.c +++ b/net/dsa-uclass.c @@ -432,7 +432,7 @@ static int dsa_post_bind(struct udevice *dev) * skip registration if port id not found or if the port * is explicitly disabled in DT */ - if (!ofnode_valid(pnode) || !ofnode_is_available(pnode)) + if (!ofnode_valid(pnode) || !ofnode_is_enabled(pnode)) continue; err = device_bind_driver_to_node(dev, DSA_PORT_CHILD_DRV_NAME, |
