diff options
author | Mike Turquette <mturquette@linaro.org> | 2012-05-06 21:48:11 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-08 17:13:07 -0400 |
commit | 31df9db99549cd29bbe5e32da4492970e6f97191 (patch) | |
tree | e15e63a082f4b77d1571083e9ab808bb1a9609f6 /drivers/clk | |
parent | d269b974e32c5dcf043acd07f9ad96e715019ffd (diff) |
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-mux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c index 8e97491902e7..fd36a8ea73d9 100644 --- a/drivers/clk/clk-mux.c +++ b/drivers/clk/clk-mux.c | |||
@@ -116,6 +116,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name, | |||
116 | mux->width = width; | 116 | mux->width = width; |
117 | mux->flags = clk_mux_flags; | 117 | mux->flags = clk_mux_flags; |
118 | mux->lock = lock; | 118 | mux->lock = lock; |
119 | mux->hw.init = &init; | ||
119 | 120 | ||
120 | clk = clk_register(dev, &mux->hw); | 121 | clk = clk_register(dev, &mux->hw); |
121 | 122 | ||