Skip to content
Snippets Groups Projects
Commit dc4cd941 authored by Mark Brown's avatar Mark Brown Committed by Mike Turquette
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent f7d8caad
No related branches found
No related tags found
No related merge requests found
......@@ -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;
};
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment