summaryrefslogtreecommitdiff
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-14 15:12:42 +0100
committerMike Turquette <mturquette@linaro.org>2012-07-11 15:36:44 -0700
commitdc4cd941c900fda27f0146ab615122426229de73 (patch)
treed7d93a06582354d8ba0eda1167186128a505389f /include/linux/clk-provider.h
parentf7d8caadfd2813cbada82ce9041b13c38e8e5282 (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.h2
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;
};
/*