From: Sachin Kamat <sachin.kamat@linaro.org>
Date: Mon, 12 Aug 2013 09:13:59 +0000 (+0530)
Subject: clk: bcm2835: Fix incorrect placement of __initconst
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3bbc55dd1724bcd2d393f767016c3674adb2ede6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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>
---

diff --git a/drivers/clk/clk-bcm2835.c b/drivers/clk/clk-bcm2835.c
index 792bc57a9db7..5fb4ff53d088 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, },
 	{ }
 };