diff options
author | Mike Turquette <mturquette@linaro.org> | 2012-05-06 18:48:11 -0700 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-08 14:13:07 -0700 |
commit | 31df9db99549cd29bbe5e32da4492970e6f97191 (patch) | |
tree | e15e63a082f4b77d1571083e9ab808bb1a9609f6 /drivers/clk/clk-mux.c | |
parent | d269b974e32c5dcf043acd07f9ad96e715019ffd (diff) | |
download | op-kernel-dev-31df9db99549cd29bbe5e32da4492970e6f97191.zip op-kernel-dev-31df9db99549cd29bbe5e32da4492970e6f97191.tar.gz |
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/clk-mux.c')
-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 8e97491..fd36a8e 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, mux->width = width; mux->flags = clk_mux_flags; mux->lock = lock; + mux->hw.init = &init; clk = clk_register(dev, &mux->hw); |