diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2020-03-09 20:42:39 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-03-20 18:19:30 -0700 |
commit | cb8dbfe831758fb2ba52d8c30db5249e48f57b8b (patch) | |
tree | b3ae75125d666e972fe72b12bef99e4446b6ce8a /drivers/clk/mmp/clk.h | |
parent | b3296386c512de4b68242cabac880bc9d24cfdf6 (diff) |
clk: mmp2: Constify some strings
All the parent clock names for the muxes are constant. Add const.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lkml.kernel.org/r/20200309194254.29009-3-lkundrak@v3.sk
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mmp/clk.h')
-rw-r--r-- | drivers/clk/mmp/clk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mmp/clk.h b/drivers/clk/mmp/clk.h index 5bcbced3f458..37d1e1d7b664 100644 --- a/drivers/clk/mmp/clk.h +++ b/drivers/clk/mmp/clk.h @@ -97,7 +97,7 @@ struct mmp_clk_mix { extern const struct clk_ops mmp_clk_mix_ops; extern struct clk *mmp_clk_register_mix(struct device *dev, const char *name, - const char **parent_names, + const char * const *parent_names, u8 num_parents, unsigned long flags, struct mmp_clk_mix_config *config, @@ -193,7 +193,7 @@ void mmp_register_gate_clks(struct mmp_clk_unit *unit, struct mmp_param_mux_clk { unsigned int id; char *name; - const char **parent_name; + const char * const *parent_name; u8 num_parents; unsigned long flags; unsigned long offset; |