Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
};

/*