From 7736c715d08a53ad89d17b63b8f5124adce39f67 Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Mon, 16 Dec 2013 22:25:27 +0100 Subject: [PATCH] clk: at91: fix pmc_clk_ids data type attriubte Fix pmc_clk_ids data type attribute (__initdata -> __initconst). Signed-off-by: Boris BREZILLON Reported-by: Fengguang Wu Acked-by: Mike Turquette Signed-off-by: Nicolas Ferre --- 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 7b9db603b936..4c03eda47406 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", -- 2.39.5