summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boards/riscvemu/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/boards/riscvemu/board.c')
-rw-r--r--arch/riscv/boards/riscvemu/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/boards/riscvemu/board.c b/arch/riscv/boards/riscvemu/board.c
index d9c7bd77b8..e735d7e05e 100644
--- a/arch/riscv/boards/riscvemu/board.c
+++ b/arch/riscv/boards/riscvemu/board.c
@@ -43,7 +43,7 @@ static int riscvemu_probe(struct device_d *dev)
u64 start;
overlay = of_unflatten_dtb(__dtb_overlay_of_sram_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 */
if (IS_ENABLED(CONFIG_CMD_TUTORIAL))