aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk.h
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@nxp.com>2018-12-14 15:30:10 +0000
committerStephen Boyd <sboyd@kernel.org>2019-02-21 12:41:16 -0800
commit470663e0781c06234235a025a5455c0e15925f0c (patch)
tree8e25f0058af0a8490a08d651bde1c80ab941397b /drivers/clk/imx/clk.h
parentclk: imx: Make parent_names const pointer in composite-8m (diff)
downloadlinux-dev-470663e0781c06234235a025a5455c0e15925f0c.tar.xz
linux-dev-470663e0781c06234235a025a5455c0e15925f0c.zip
clk: imx: Make parents const pointer in mux wrappers
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>
Diffstat (limited to 'drivers/clk/imx/clk.h')
-rw-r--r--drivers/clk/imx/clk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
index 1363dbe65020..2e442d8389a5 100644
--- a/drivers/clk/imx/clk.h
+++ b/drivers/clk/imx/clk.h
@@ -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,