aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/dpll.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/dpll.c
parentclk: ti: clkctrl: use fallback udelay approach if timekeeping is suspended (diff)
downloadlinux-dev-ffb009b24388b896d9ca8b54e39a879302142518.tar.xz
linux-dev-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.c3
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;