Message ID | 1376298847-21828-1-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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.
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 --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, }, { } };
__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(-)