[PATCH 1/9] clk: bcm2835: Fix incorrect placement of __initconst
Sachin Kamat
sachin.kamat at linaro.org
Mon Aug 12 05:13:59 EDT 2013
__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 at linaro.org>
Cc: Stephen Warren <swarren at wwwdotorg.org>
---
drivers/clk/clk-bcm2835.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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, },
{ }
};
--
1.7.9.5
More information about the linux-arm-kernel
mailing list