Skip to content

Commit

Permalink
clk: Constify struct clk_init_data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Mike Turquette committed Jul 11, 2012
1 parent f7d8caa commit dc4cd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/clk-provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

/*
Expand Down

0 comments on commit dc4cd94

Please sign in to comment.