diff options
author | Mike Turquette <mturquette@linaro.org> | 2012-05-07 05:48:11 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-09 01:13:07 +0400 |
commit | 31df9db99549cd29bbe5e32da4492970e6f97191 (patch) | |
tree | e15e63a082f4b77d1571083e9ab808bb1a9609f6 /drivers/clk/clk-mux.c | |
parent | d269b974e32c5dcf043acd07f9ad96e715019ffd (diff) | |
download | linux-31df9db99549cd29bbe5e32da4492970e6f97191.tar.xz |
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 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, mux->width = width; mux->flags = clk_mux_flags; mux->lock = lock; + mux->hw.init = &init; clk = clk_register(dev, &mux->hw); |