]> git.sur5r.net Git - u-boot/blobdiff - drivers/clk/clk-uclass.c
status_led: Kconfig migration - introduction
[u-boot] / drivers / clk / clk-uclass.c
index c42fff6ec2908ba801d8420011b7e55f4346da9a..153ceba702d621158c238322e1345516125fc31f 100644 (file)
@@ -80,6 +80,9 @@ int clk_get_by_index(struct udevice *dev, int index, struct clk *clk)
                      __func__, ret);
                return ret;
        }
+
+       clk->dev = dev_clk;
+
        ops = clk_dev_ops(dev_clk);
 
        if (ops->of_xlate)