From: Mark Brown Date: Mon, 14 May 2012 14:12:42 +0000 (+0100) Subject: clk: Constify struct clk_init_data X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dc4cd941c900fda27f0146ab615122426229de73;p=linux-beck.git 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 Signed-off-by: Mike Turquette --- 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; }; /*