mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
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: Mike Turquette <mturquette@linaro.org> Reported-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
d269b974e3
commit
31df9db995
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name,
|
|||
mux->width = width;
|
||||
mux->flags = clk_mux_flags;
|
||||
mux->lock = lock;
|
||||
mux->hw.init = &init;
|
||||
|
||||
clk = clk_register(dev, &mux->hw);
|
||||
|
||||
|
|
Loading…
Reference in a new issue