Skip to content

Commit

Permalink
clk: imx: Make parents const pointer in mux wrappers
Browse files Browse the repository at this point in the history
The parents needs to be pointer to const pointer to const char.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Abel Vesa authored and Stephen Boyd committed Feb 21, 2019
1 parent 65a6b7c commit 470663e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/clk/imx/clk.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ static inline struct clk *imx_clk_mux_flags(const char *name,
}

static inline struct clk *imx_clk_mux2_flags(const char *name,
void __iomem *reg, u8 shift, u8 width, const char **parents,
void __iomem *reg, u8 shift, u8 width,
const char * const *parents,
int num_parents, unsigned long flags)
{
return clk_register_mux(NULL, name, parents, num_parents,
Expand Down

0 comments on commit 470663e

Please sign in to comment.