summaryrefslogtreecommitdiffstats
path: root/common/boards/qemu-virt/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/boards/qemu-virt/board.c')
-rw-r--r--common/boards/qemu-virt/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/boards/qemu-virt/board.c b/common/boards/qemu-virt/board.c
index 4064409c80..bfda86569b 100644
--- a/common/boards/qemu-virt/board.c
+++ b/common/boards/qemu-virt/board.c
@@ -46,7 +46,7 @@ static int virt_probe(struct device_d *dev)
init();
overlay = of_unflatten_dtb(__dtb_overlay_of_flash_start, INT_MAX);
- of_overlay_apply_tree(dev->device_node, overlay);
+ of_overlay_apply_tree(dev->of_node, overlay);
/* of_probe() will happen later at of_populate_initcall */
return 0;