summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/composite.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-11-06 09:43:16 +0200
committerTero Kristo <t-kristo@ti.com>2017-12-01 15:16:24 +0200
commitffb009b24388b896d9ca8b54e39a879302142518 (patch)
treea491d2ca57568b59fe498da6fd7f7978ea647b74 /drivers/clk/ti/composite.c
parent3d8598fb9c5a77837d9c0951efc5c36fdf91d87c (diff)
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.c3
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;