Skip to content

Commit

Permalink
clk: imx: Make parent_names const pointer in composite-8m
Browse files Browse the repository at this point in the history
The parent_names 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 d139371 commit 65a6b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/clk/imx/clk-composite-8m.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static const struct clk_ops imx8m_clk_composite_divider_ops = {
};

struct clk *imx8m_clk_composite_flags(const char *name,
const char **parent_names,
const char * const *parent_names,
int num_parents, void __iomem *reg,
unsigned long flags)
{
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/imx/clk.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ struct clk *imx_clk_cpu(const char *name, const char *parent_name,
struct clk *step);

struct clk *imx8m_clk_composite_flags(const char *name,
const char **parent_names,
const char * const *parent_names,
int num_parents, void __iomem *reg,
unsigned long flags);

Expand Down

0 comments on commit 65a6b7c

Please sign in to comment.