瀏覽代碼

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>
Sachin Kamat 12 年之前
父節點
當前提交
3bbc55dd17
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/clk/clk-bcm2835.c

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