diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-11 19:08:51 -0400 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-12 17:30:12 -0400 |
commit | 22109785163310666cf9913bafbcc11c5aebe68a (patch) | |
tree | e2d7fdb63e027683b99e3728c4975e463d137a0f | |
parent | 8c9a8a8f71f43e56d35524fa17646ce45c2f7fe6 (diff) |
clk: pxa: Fix const discarding warning
A recent change to mark parent names as const missed this struct
member so we get warnings like:
drivers/clk/pxa/clk-pxa25x.c:122:2: warning: initialization
discards 'const' qualifier from pointer target type
Fix it.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r-- | drivers/clk/pxa/clk-pxa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/pxa/clk-pxa.h b/drivers/clk/pxa/clk-pxa.h index 7bf532dca709..d1de805df867 100644 --- a/drivers/clk/pxa/clk-pxa.h +++ b/drivers/clk/pxa/clk-pxa.h | |||
@@ -72,7 +72,7 @@ struct desc_clk_cken { | |||
72 | const char *name; | 72 | const char *name; |
73 | const char *dev_id; | 73 | const char *dev_id; |
74 | const char *con_id; | 74 | const char *con_id; |
75 | const char **parent_names; | 75 | const char * const *parent_names; |
76 | struct clk_fixed_factor lp; | 76 | struct clk_fixed_factor lp; |
77 | struct clk_fixed_factor hp; | 77 | struct clk_fixed_factor hp; |
78 | struct clk_gate gate; | 78 | struct clk_gate gate; |