summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/apll.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-11-06 10:43:16 +0300
committerTero Kristo <t-kristo@ti.com>2017-12-01 16:16:24 +0300
commitffb009b24388b896d9ca8b54e39a879302142518 (patch)
treea491d2ca57568b59fe498da6fd7f7978ea647b74 /drivers/clk/ti/apll.c
parent3d8598fb9c5a77837d9c0951efc5c36fdf91d87c (diff)
downloadlinux-ffb009b24388b896d9ca8b54e39a879302142518.tar.xz
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/apll.c')
-rw-r--r--drivers/clk/ti/apll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/ti/apll.c b/drivers/clk/ti/apll.c
index 83b148f8037c..9498e9363b57 100644
--- a/drivers/clk/ti/apll.c
+++ b/drivers/clk/ti/apll.c
@@ -133,9 +133,10 @@ static const struct clk_ops apll_ck_ops = {
.get_parent = &dra7_init_apll_parent,
};
-static void __init omap_clk_register_apll(struct clk_hw *hw,
+static void __init omap_clk_register_apll(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 *ad = clk_hw->dpll_data;
struct clk *clk;