Skip to content

Commit

Permalink
clk: at91: fix pmc_clk_ids data type attriubte
Browse files Browse the repository at this point in the history
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>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  • Loading branch information
Boris BREZILLON authored and Nicolas Ferre committed Dec 19, 2013
1 parent b46e837 commit 7736c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/at91/pmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ static struct at91_pmc *__init at91_pmc_init(struct device_node *np,
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",
Expand Down

0 comments on commit 7736c71

Please sign in to comment.