aboutsummaryrefslogtreecommitdiff
path: root/board/synopsys/hsdk/clk-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/synopsys/hsdk/clk-lib.c')
-rw-r--r--board/synopsys/hsdk/clk-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/synopsys/hsdk/clk-lib.c b/board/synopsys/hsdk/clk-lib.c
index 1c74bfb93a3..bd43179fc79 100644
--- a/board/synopsys/hsdk/clk-lib.c
+++ b/board/synopsys/hsdk/clk-lib.c
@@ -23,8 +23,8 @@ int soc_clk_ctl(const char *name, ulong *rate, enum clk_ctl_ops ctl)
/* Dummy fmeas device, just to be able to use standard clk_* api */
struct udevice fmeas = {
.name = "clk-fmeas",
- .node = ofnode_path("/clk-fmeas"),
};
+ dev_set_ofnode(&fmeas, ofnode_path("/clk-fmeas"));
ret = clk_get_by_name(&fmeas, name, &clk);
if (ret) {