mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
dm: core: Drop ofnode_is_available()
This function is also available as ofnode_is_enabled(), so use that instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user