]> Git Repo - u-boot.git/blobdiff - drivers/core/device.c
dm: core: Access device ofnode through functions
[u-boot.git] / drivers / core / device.c
index bd4ecc9e24dab0033216b2d9380c5795346ffaf2..6a9bee093d07ed7559fca71197786e0e21d09d04 100644 (file)
@@ -68,7 +68,7 @@ static int device_bind_common(struct udevice *parent, const struct driver *drv,
        dev_set_plat(dev, plat);
        dev->driver_data = driver_data;
        dev->name = name;
-       dev->node = node;
+       dev_set_ofnode(dev, node);
        dev->parent = parent;
        dev->driver = drv;
        dev->uclass = uc;
This page took 0.025374 seconds and 4 git commands to generate.