diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-14 10:12:42 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-07-11 18:36:44 -0400 |
commit | dc4cd941c900fda27f0146ab615122426229de73 (patch) | |
tree | d7d93a06582354d8ba0eda1167186128a505389f | |
parent | f7d8caadfd2813cbada82ce9041b13c38e8e5282 (diff) |
clk: Constify struct clk_init_data
Allow drivers to declare their clk_init_data const, the framework really
shouldn't be modifying the data.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
-rw-r--r-- | include/linux/clk-provider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 0236f58f3e65..06ad617664a2 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h | |||
@@ -144,7 +144,7 @@ struct clk_init_data { | |||
144 | */ | 144 | */ |
145 | struct clk_hw { | 145 | struct clk_hw { |
146 | struct clk *clk; | 146 | struct clk *clk; |
147 | struct clk_init_data *init; | 147 | const struct clk_init_data *init; |
148 | }; | 148 | }; |
149 | 149 | ||
150 | /* | 150 | /* |