diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-11-06 08:43:16 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-12-01 14:16:24 +0100 |
commit | ffb009b24388b896d9ca8b54e39a879302142518 (patch) | |
tree | a491d2ca57568b59fe498da6fd7f7978ea647b74 /drivers/clk/ti/composite.c | |
parent | clk: ti: clkctrl: use fallback udelay approach if timekeeping is suspended (diff) | |
download | linux-ffb009b24388b896d9ca8b54e39a879302142518.tar.xz linux-ffb009b24388b896d9ca8b54e39a879302142518.zip |
clk: ti: convert retry_init param to use void data type
User data should be void type, as the core framework doesn't need to
know what is passed through.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/ti/composite.c')
-rw-r--r-- | drivers/clk/ti/composite.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/ti/composite.c b/drivers/clk/ti/composite.c index beea89463ca2..3eaba2d16ce4 100644 --- a/drivers/clk/ti/composite.c +++ b/drivers/clk/ti/composite.c @@ -161,9 +161,10 @@ struct clk *ti_clk_register_composite(struct ti_clk *setup) } #endif -static void __init _register_composite(struct clk_hw *hw, +static void __init _register_composite(void *user, struct device_node *node) { + struct clk_hw *hw = user; struct clk *clk; struct clk_hw_omap_comp *cclk = to_clk_hw_comp(hw); struct component_clk *comp; |