summaryrefslogtreecommitdiff
path: root/drivers/net/ti
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-09-06 20:27:17 -0600
committerTom Rini <trini@konsulko.com>2022-09-29 16:11:31 -0400
commit8909066199281b86bf4ee7673ec6d7983dd12a26 (patch)
tree8e2b25f62f29ad0e2a9252b41ce1e916b4ecac8d /drivers/net/ti
parent52ad21aa2cc55f53da19436f457a8590abf0d125 (diff)
downloadu-boot-8909066199281b86bf4ee7673ec6d7983dd12a26.tar.gz
u-boot-8909066199281b86bf4ee7673ec6d7983dd12a26.tar.bz2
u-boot-8909066199281b86bf4ee7673ec6d7983dd12a26.zip
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>
Diffstat (limited to 'drivers/net/ti')
-rw-r--r--drivers/net/ti/am65-cpsw-nuss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ti/am65-cpsw-nuss.c b/drivers/net/ti/am65-cpsw-nuss.c
index 9580fa37ea..b79e06290a 100644
--- a/drivers/net/ti/am65-cpsw-nuss.c
+++ b/drivers/net/ti/am65-cpsw-nuss.c
@@ -719,7 +719,7 @@ static int am65_cpsw_probe_nuss(struct udevice *dev)
node_name = ofnode_get_name(node);
- disabled = !ofnode_is_available(node);
+ disabled = !ofnode_is_enabled(node);
ret = ofnode_read_u32(node, "reg", &port_id);
if (ret) {