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/clock.h | |
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/clock.h')
-rw-r--r-- | drivers/clk/ti/clock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h index 169241fd1edf..999fe7211394 100644 --- a/drivers/clk/ti/clock.h +++ b/drivers/clk/ti/clock.h @@ -235,7 +235,7 @@ extern const struct omap_clkctrl_data omap4_clkctrl_data[]; #define CLKF_HW_SUP BIT(1) #define CLKF_NO_IDLEST BIT(2) -typedef void (*ti_of_clk_init_cb_t)(struct clk_hw *, struct device_node *); +typedef void (*ti_of_clk_init_cb_t)(void *, struct device_node *); struct clk *ti_clk_register_gate(struct ti_clk *setup); struct clk *ti_clk_register_interface(struct ti_clk *setup); @@ -263,7 +263,7 @@ int ti_clk_register_legacy_clks(struct ti_clk_alias *clks); int ti_clk_get_reg_addr(struct device_node *node, int index, struct clk_omap_reg *reg); void ti_dt_clocks_register(struct ti_dt_clk *oclks); -int ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, +int ti_clk_retry_init(struct device_node *node, void *user, ti_of_clk_init_cb_t func); int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type); |