summaryrefslogtreecommitdiff
path: root/drivers/core/root.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-09-04 16:27:25 -0600
committerSimon Glass <sjg@chromium.org>2014-09-10 12:59:59 -0600
commit1f359e3611c55d9cfae88dafce04db1833033bd0 (patch)
tree09393f882800f16630b53f107770741fa680bfe2 /drivers/core/root.c
parentaac07d49d00b4bc8ca3f4aca0f3ad26385fb1d37 (diff)
downloadu-boot-1f359e3611c55d9cfae88dafce04db1833033bd0.tar.gz
u-boot-1f359e3611c55d9cfae88dafce04db1833033bd0.tar.bz2
u-boot-1f359e3611c55d9cfae88dafce04db1833033bd0.zip
dm: Adjust lists_bind_fdt() to return the bound device
Allow the caller to find out the device that was bound in response to this call. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/root.c')
-rw-r--r--drivers/core/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 393dd98b9d..a328a4876f 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -91,7 +91,7 @@ int dm_scan_fdt_node(struct udevice *parent, const void *blob, int offset,
if (pre_reloc_only &&
!fdt_getprop(blob, offset, "u-boot,dm-pre-reloc", NULL))
continue;
- err = lists_bind_fdt(parent, blob, offset);
+ err = lists_bind_fdt(parent, blob, offset, NULL);
if (err && !ret)
ret = err;
}