From: Sachin Kamat Date: Mon, 12 Aug 2013 09:14:00 +0000 (+0530) Subject: clk: nomadik: Fix incorrect placement of __initconst X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=330d83b1fb255963dcfd20cbdd0be34c0ed7da89;p=linux-beck.git clk: nomadik: Fix incorrect placement of __initconst __initconst should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat Acked-by: Linus Walleij Signed-off-by: Mike Turquette --- diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index 6d819a37f647..51410c2ac2cb 100644 --- a/drivers/clk/clk-nomadik.c +++ b/drivers/clk/clk-nomadik.c @@ -479,12 +479,12 @@ static void __init of_nomadik_src_clk_setup(struct device_node *np) of_clk_add_provider(np, of_clk_src_simple_get, clk); } -static const __initconst struct of_device_id nomadik_src_match[] = { +static const struct of_device_id nomadik_src_match[] __initconst = { { .compatible = "stericsson,nomadik-src" }, { /* sentinel */ } }; -static const __initconst struct of_device_id nomadik_src_clk_match[] = { +static const struct of_device_id nomadik_src_clk_match[] __initconst = { { .compatible = "fixed-clock", .data = of_fixed_clk_setup,