]> Pileus Git - ~andy/linux/commitdiff
clk: bcm2835: Fix incorrect placement of __initconst
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 12 Aug 2013 09:13:59 +0000 (14:43 +0530)
committerMike Turquette <mturquette@linaro.org>
Wed, 28 Aug 2013 01:32:24 +0000 (18:32 -0700)
__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 <sachin.kamat@linaro.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-bcm2835.c

index 792bc57a9db7c910d247eb47d4801a27f08792c8..5fb4ff53d0887eca089a7a853b29a11df9cab6a5 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/clk-provider.h>
 #include <linux/of.h>
 
-static const __initconst struct of_device_id clk_match[] = {
+static const struct of_device_id clk_match[] __initconst = {
        { .compatible = "fixed-clock", .data = of_fixed_clk_setup, },
        { }
 };