linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: at91: fix pmc_clk_ids data type attriubte
@ 2013-12-16 21:25 Boris BREZILLON
  2013-12-17  9:33 ` Nicolas Ferre
  2013-12-19  7:56 ` Mike Turquette
  0 siblings, 2 replies; 5+ messages in thread
From: Boris BREZILLON @ 2013-12-16 21:25 UTC (permalink / raw)
  To: linux-arm-kernel

Fix pmc_clk_ids data type attribute (__initdata -> __initconst).

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
---
 drivers/clk/at91/pmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
index 7b9db60..4c03eda 100644
--- a/drivers/clk/at91/pmc.c
+++ b/drivers/clk/at91/pmc.c
@@ -228,7 +228,7 @@ out_free_pmc:
 	return NULL;
 }
 
-static const struct of_device_id pmc_clk_ids[] __initdata = {
+static const struct of_device_id pmc_clk_ids[] __initconst = {
 	/* Main clock */
 	{
 		.compatible = "atmel,at91rm9200-clk-main",
-- 
1.7.9.5

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

end of thread, other threads:[~2013-12-19 15:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16 21:25 [PATCH] clk: at91: fix pmc_clk_ids data type attriubte Boris BREZILLON
2013-12-17  9:33 ` Nicolas Ferre
2013-12-19  7:57   ` Mike Turquette
2013-12-19 15:47     ` Nicolas Ferre
2013-12-19  7:56 ` 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).