clk: mux: assign init data
authorMike Turquette <mturquette@linaro.org>
Mon, 7 May 2012 01:48:11 +0000 (18:48 -0700)
committerMike Turquette <mturquette@linaro.org>
Tue, 8 May 2012 21:13:07 +0000 (14:13 -0700)
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>
drivers/clk/clk-mux.c

index 8e97491..fd36a8e 100644 (file)
@@ -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);