diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-14 15:12:42 +0100 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-07-11 15:36:44 -0700 |
commit | dc4cd941c900fda27f0146ab615122426229de73 (patch) | |
tree | d7d93a06582354d8ba0eda1167186128a505389f /include/linux/clk-provider.h | |
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>
Diffstat (limited to 'include/linux/clk-provider.h')
-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 0236f58f3e6..06ad617664a 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -144,7 +144,7 @@ struct clk_init_data { */ struct clk_hw { struct clk *clk; - struct clk_init_data *init; + const struct clk_init_data *init; }; /* |