linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: Constify struct clk_init_data
@ 2012-05-14 14:12 Mark Brown
  2012-05-14 21:53 ` Turquette, Mike
  2012-06-12 17:10 ` Mike Turquette
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Brown @ 2012-05-14 14:12 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 include/linux/clk-provider.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index c1c23b9..fc43ea6 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -143,7 +143,7 @@ struct clk_init_data {
  */
 struct clk_hw {
 	struct clk *clk;
-	struct clk_init_data *init;
+	const struct clk_init_data *init;
 };
 
 /*
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-12 17:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 14:12 [PATCH] clk: Constify struct clk_init_data Mark Brown
2012-05-14 21:53 ` Turquette, Mike
2012-05-15  1:08   ` Saravana Kannan
2012-05-15  5:13     ` Rajendra Nayak
2012-05-15  5:59       ` Turquette, Mike
2012-05-15  1:19   ` Saravana Kannan
2012-05-15  7:00     ` Sascha Hauer
2012-05-15 16:42       ` Saravana Kannan
2012-05-15 18:15         ` Saravana Kannan
2012-06-12 17:10 ` Mike Turquette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).