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/clock.h | |
parent | 2e1a294c0f2273a6d3537c91965ca46a6483bd8c (diff) | |
download | lwn-ce382d4766bd82b8fdd487bb57afb1c4f9546de2.tar.gz lwn-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/clock.h')
-rw-r--r-- | drivers/clk/ti/clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h index ecf82d86118c..cb906a199e66 100644 --- a/drivers/clk/ti/clock.h +++ b/drivers/clk/ti/clock.h @@ -86,7 +86,7 @@ struct ti_clk_mux { int num_parents; u16 reg; u8 module; - const char **parents; + const char * const *parents; u16 flags; }; |