clk: imx: Make parents const pointer in mux wrappers
authorAbel Vesa <abel.vesa@nxp.com>
Fri, 14 Dec 2018 15:30:10 +0000 (15:30 +0000)
committerStephen Boyd <sboyd@kernel.org>
Thu, 21 Feb 2019 20:41:16 +0000 (12:41 -0800)
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>
drivers/clk/imx/clk.h

index 1363dbe..2e442d8 100644 (file)
@@ -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,