Commit 31df9db9 authored by Mike Turquette's avatar Mike Turquette

clk: mux: assign init data

The original conversion to struct clk_hw_init failed to add the pointer
assignment in clk_register_mux.
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
Reported-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent d269b974
...@@ -116,6 +116,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name, ...@@ -116,6 +116,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name,
mux->width = width; mux->width = width;
mux->flags = clk_mux_flags; mux->flags = clk_mux_flags;
mux->lock = lock; mux->lock = lock;
mux->hw.init = &init;
clk = clk_register(dev, &mux->hw); clk = clk_register(dev, &mux->hw);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment