dm: core: Allow binding a device from a live tree
[u-boot.git] / drivers / core / lists.c
index 72c55e205f9f0fd9dda8516cda66e5455dcf4da1..9adfa758bcaefc505beb9f9c93d8e4cfceeecf69 100644 (file)
@@ -177,7 +177,7 @@ int lists_bind_fdt(struct udevice *parent, const void *blob, int offset,
 
                dm_dbg("   - found match at '%s'\n", entry->name);
                ret = device_bind_with_driver_data(parent, entry, name,
-                                                  id->data, offset, &dev);
+                               id->data, offset_to_ofnode(offset), &dev);
                if (ret == -ENODEV) {
                        dm_dbg("Driver '%s' refuses to bind\n", entry->name);
                        continue;
This page took 0.026992 seconds and 4 git commands to generate.