]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: imx: Make parent_names const pointer in composite-8m
authorAbel Vesa <abel.vesa@nxp.com>
Fri, 14 Dec 2018 15:30:09 +0000 (15:30 +0000)
committerStephen Boyd <sboyd@kernel.org>
Thu, 21 Feb 2019 20:41:16 +0000 (12:41 -0800)
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>
drivers/clk/imx/clk-composite-8m.c
drivers/clk/imx/clk.h

index 527ade1d6933198a3491d73c3ce0ee8025e64fa2..574fac1a169f46c5699a37355aa2f7f280db1efd 100644 (file)
@@ -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)
 {
index 028312de21b816167b4349d8210d19972301db37..1363dbe65020560cfe94d91ad45ed1eb6cfcc811 100644 (file)
@@ -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);