summaryrefslogtreecommitdiff
path: root/drivers/clk/mmp/clk-mix.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-03-09 22:42:39 +0300
committerStephen Boyd <sboyd@kernel.org>2020-03-21 04:19:30 +0300
commitcb8dbfe831758fb2ba52d8c30db5249e48f57b8b (patch)
treeb3ae75125d666e972fe72b12bef99e4446b6ce8a /drivers/clk/mmp/clk-mix.c
parentb3296386c512de4b68242cabac880bc9d24cfdf6 (diff)
downloadlinux-cb8dbfe831758fb2ba52d8c30db5249e48f57b8b.tar.xz
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-mix.c')
-rw-r--r--drivers/clk/mmp/clk-mix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mmp/clk-mix.c b/drivers/clk/mmp/clk-mix.c
index d2cd36c54474..7a351ec65564 100644
--- a/drivers/clk/mmp/clk-mix.c
+++ b/drivers/clk/mmp/clk-mix.c
@@ -441,7 +441,7 @@ const struct clk_ops mmp_clk_mix_ops = {
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,