diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-11-06 09:43:16 +0200 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-12-01 15:16:24 +0200 |
commit | ffb009b24388b896d9ca8b54e39a879302142518 (patch) | |
tree | a491d2ca57568b59fe498da6fd7f7978ea647b74 /drivers/clk/ti/dpll.c | |
parent | 3d8598fb9c5a77837d9c0951efc5c36fdf91d87c (diff) | |
download | lwn-ffb009b24388b896d9ca8b54e39a879302142518.tar.gz lwn-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/dpll.c')
-rw-r--r-- | drivers/clk/ti/dpll.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/ti/dpll.c b/drivers/clk/ti/dpll.c index d4e4444bc5ca..d246598c5016 100644 --- a/drivers/clk/ti/dpll.c +++ b/drivers/clk/ti/dpll.c @@ -152,9 +152,10 @@ static const struct clk_ops dpll_x2_ck_ops = { * clk-bypass is missing), the clock is added to retry list and * the initialization is retried on later stage. */ -static void __init _register_dpll(struct clk_hw *hw, +static void __init _register_dpll(void *user, struct device_node *node) { + struct clk_hw *hw = user; struct clk_hw_omap *clk_hw = to_clk_hw_omap(hw); struct dpll_data *dd = clk_hw->dpll_data; struct clk *clk; |