diff options
author | Abel Vesa <abel.vesa@nxp.com> | 2018-12-14 15:30:09 +0000 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-21 12:41:16 -0800 |
commit | 65a6b7c5f31c39a47da729021cb2a5ec1339affb (patch) | |
tree | 3f464a491b7e0fde4d84ab4b7c5f62e4ef053b81 /drivers/clk/imx | |
parent | d13937116f1e82bf508a6325111b322c30c85eb9 (diff) |
clk: imx: Make parent_names const pointer in composite-8m
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>
Diffstat (limited to 'drivers/clk/imx')
-rw-r--r-- | drivers/clk/imx/clk-composite-8m.c | 2 | ||||
-rw-r--r-- | drivers/clk/imx/clk.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/imx/clk-composite-8m.c b/drivers/clk/imx/clk-composite-8m.c index 527ade1d6933..574fac1a169f 100644 --- a/drivers/clk/imx/clk-composite-8m.c +++ b/drivers/clk/imx/clk-composite-8m.c @@ -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) { diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h index 028312de21b8..1363dbe65020 100644 --- a/drivers/clk/imx/clk.h +++ b/drivers/clk/imx/clk.h @@ -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); |