diff options
author | Tero Kristo <t-kristo@ti.com> | 2016-10-05 15:37:02 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2017-03-08 13:00:25 +0200 |
commit | ce382d4766bd82b8fdd487bb57afb1c4f9546de2 (patch) | |
tree | 39f7c81f929e7ec3923c466f67a0f702ed7ac9c3 /drivers/clk/ti/mux.c | |
parent | 2e1a294c0f2273a6d3537c91965ca46a6483bd8c (diff) | |
download | linux-stable-ce382d4766bd82b8fdd487bb57afb1c4f9546de2.tar.gz linux-stable-ce382d4766bd82b8fdd487bb57afb1c4f9546de2.tar.bz2 linux-stable-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/mux.c')
-rw-r--r-- | drivers/clk/ti/mux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/ti/mux.c b/drivers/clk/ti/mux.c index 0da149ed1549..3cc6db4b31fb 100644 --- a/drivers/clk/ti/mux.c +++ b/drivers/clk/ti/mux.c @@ -97,10 +97,10 @@ const struct clk_ops ti_clk_mux_ops = { }; static struct clk *_register_mux(struct device *dev, const char *name, - const char **parent_names, u8 num_parents, - unsigned long flags, void __iomem *reg, - u8 shift, u32 mask, u8 clk_mux_flags, - u32 *table) + const char * const *parent_names, + u8 num_parents, unsigned long flags, + void __iomem *reg, u8 shift, u32 mask, + u8 clk_mux_flags, u32 *table) { struct clk_mux *mux; struct clk *clk; |