diff options
author | Tero Kristo <t-kristo@ti.com> | 2016-10-05 14:37:02 +0200 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-03-08 12:00:25 +0100 |
commit | ce382d4766bd82b8fdd487bb57afb1c4f9546de2 (patch) | |
tree | 39f7c81f929e7ec3923c466f67a0f702ed7ac9c3 /drivers/clk/ti/composite.c | |
parent | clk: ti: move omap2_init_clk_clkdm under TI clock driver (diff) | |
download | linux-ce382d4766bd82b8fdd487bb57afb1c4f9546de2.tar.xz linux-ce382d4766bd82b8fdd487bb57afb1c4f9546de2.zip |
clk: ti: enforce const types on string arrays
Constant string arrays should use const char * const instead of just
const char *. Change the implementations using these to proper type.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/clk/ti/composite.c')
-rw-r--r-- | drivers/clk/ti/composite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/composite.c b/drivers/clk/ti/composite.c index 3f60f990cad8..beea89463ca2 100644 --- a/drivers/clk/ti/composite.c +++ b/drivers/clk/ti/composite.c @@ -124,7 +124,7 @@ struct clk *ti_clk_register_composite(struct ti_clk *setup) struct clk_hw *mux; struct clk_hw *div; int num_parents = 1; - const char **parent_names = NULL; + const char * const *parent_names = NULL; struct clk *clk; int ret; |