clk: make strings in parent name arrays const
[firefly-linux-kernel-4.4.55.git] / drivers / clk / clk-composite.c
index 956b7e54fa1c5f4f3583ac642c3f3f2ae255fee2..077f4c7148f1261eb7a3778dd533bd820b9c5368 100644 (file)
@@ -188,7 +188,7 @@ static void clk_composite_disable(struct clk_hw *hw)
 }
 
 struct clk *clk_register_composite(struct device *dev, const char *name,
-                       const char **parent_names, int num_parents,
+                       const char * const *parent_names, int num_parents,
                        struct clk_hw *mux_hw, const struct clk_ops *mux_ops,
                        struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
                        struct clk_hw *gate_hw, const struct clk_ops *gate_ops,