summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-bcm2835.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-12 14:43:59 +0530
committerMike Turquette <mturquette@linaro.org>2013-08-27 18:32:24 -0700
commit3bbc55dd1724bcd2d393f767016c3674adb2ede6 (patch)
treeb475bae3a921dd4413109ab8c8179203251118f5 /drivers/clk/clk-bcm2835.c
parentc045ddeb3893c4614e6ab694b8d297e3badc23af (diff)
downloadop-kernel-dev-3bbc55dd1724bcd2d393f767016c3674adb2ede6.zip
op-kernel-dev-3bbc55dd1724bcd2d393f767016c3674adb2ede6.tar.gz
clk: bcm2835: 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 <sachin.kamat@linaro.org> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-bcm2835.c')
-rw-r--r--drivers/clk/clk-bcm2835.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-bcm2835.c b/drivers/clk/clk-bcm2835.c
index 792bc57..5fb4ff5 100644
--- a/drivers/clk/clk-bcm2835.c
+++ b/drivers/clk/clk-bcm2835.c
@@ -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, },
{ }
};
OpenPOWER on IntegriCloud