]> Git Repo - u-boot.git/blobdiff - board/synopsys/hsdk/clk-lib.c
dm: core: Access device ofnode through functions
[u-boot.git] / board / synopsys / hsdk / clk-lib.c
index 1c74bfb93a3b6762fcd88e3b7833f797dd244fa4..bd43179fc796c29ffe382b01da5ce51be914817d 100644 (file)
@@ -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) {
This page took 0.026026 seconds and 4 git commands to generate.