diff mbox

[1/9] clk: bcm2835: Fix incorrect placement of __initconst

Message ID 1376298847-21828-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat Aug. 12, 2013, 9:13 a.m. UTC
__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>
Cc: Stephen Warren <swarren@wwwdotorg.org>
---
 drivers/clk/clk-bcm2835.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Warren Aug. 12, 2013, 3:48 p.m. UTC | #1
On 08/12/2013 03:13 AM, Sachin Kamat wrote:
> __initconst should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.

Acked-by: Stephen Warren <swarren@wwwdotorg.org>

I assume Mike will take this through the clk tree.
Sachin Kamat Aug. 19, 2013, 3:38 a.m. UTC | #2
Hi Mike,

On 12 August 2013 21:18, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 08/12/2013 03:13 AM, Sachin Kamat wrote:
>> __initconst should be placed between the variable name and equal
>> sign for the variable to be placed in the intended section.
>
> Acked-by: Stephen Warren <swarren@wwwdotorg.org>
>
> I assume Mike will take this through the clk tree.

Please take this series.
diff mbox

Patch

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, },
 	{ }
 };