diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-14 18:12:42 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-07-12 02:36:44 +0400 |
commit | dc4cd941c900fda27f0146ab615122426229de73 (patch) | |
tree | d7d93a06582354d8ba0eda1167186128a505389f /include/linux | |
parent | f7d8caadfd2813cbada82ce9041b13c38e8e5282 (diff) | |
download | linux-dc4cd941c900fda27f0146ab615122426229de73.tar.xz |
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')
-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 { */ struct clk_hw { struct clk *clk; - struct clk_init_data *init; + const struct clk_init_data *init; }; /* |