summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-03-14 10:10:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-03-14 10:10:24 +0100
commitd8ef1573dfc3475d4f5dffa37cb4444b5d6f21eb (patch)
tree3a4cc9f9dd8f49f870756ac7e4e834f789037c19 /common
parentafd64e7ee4928c3104ddff40b3fda6a45bd10b50 (diff)
parentb641580deb8c624373f792a90c38c6ebaaddb719 (diff)
downloadbarebox-d8ef1573dfc3475d4f5dffa37cb4444b5d6f21eb.tar.gz
barebox-d8ef1573dfc3475d4f5dffa37cb4444b5d6f21eb.tar.xz
Merge branch 'for-next/of-deep-probe'
Diffstat (limited to 'common')
-rw-r--r--common/oftree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/oftree.c b/common/oftree.c
index 0738ab6e9e..bce0ff09d6 100644
--- a/common/oftree.c
+++ b/common/oftree.c
@@ -405,7 +405,7 @@ int of_autoenable_device_by_path(char *path)
struct device_node *node;
int ret;
- node = of_find_node_by_name(NULL, path);
+ node = of_find_node_by_name_address(NULL, path);
if (!node)
node = of_find_node_by_path(path);
@@ -442,7 +442,7 @@ int of_autoenable_i2c_by_component(char *path)
if (!IS_ENABLED(CONFIG_I2C))
return -ENODEV;
- node = of_find_node_by_name(NULL, path);
+ node = of_find_node_by_name_address(NULL, path);
if (!node)
node = of_find_node_by_path(path);
if (!node)