Skip to content

Commit

Permalink
clk: mux: assign init data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Turquette committed May 8, 2012
1 parent d269b97 commit 31df9db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/clk-mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 31df9db

Please sign in to comment.