summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-10-05 15:37:02 +0300
committerTero Kristo <t-kristo@ti.com>2017-03-08 13:00:25 +0200
commitce382d4766bd82b8fdd487bb57afb1c4f9546de2 (patch)
tree39f7c81f929e7ec3923c466f67a0f702ed7ac9c3 /drivers/clk/ti/clock.h
parent2e1a294c0f2273a6d3537c91965ca46a6483bd8c (diff)
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.h2
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;
};