ARM: shmobile: koelsch, lager: Annotate clk_names with __initconst
cover ARM: shmobile: koelsch, lager: Annotate clk_names with __initconst
Add __initconst annotations to recently added clk_names.
Depends on
"[PATCH v2 00/03] ARM: shmobile: Break out and extend clock workaround V2"
Simon Horman (2):
ARM: shmobile: koelsch: Annotate clk_names with __initconst
ARM: shmobile: lager: Annotate clk_names with __initconst
arch/arm/mach-shmobile/board-koelsch-reference.c | 2 +- arch/arm/mach-shmobile/board-lager-reference.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.5.2
PATCH 1/2 ARM: shmobile: koelsch: Annotate clk_names with __initconst
--- arch/arm/mach-shmobile/board-koelsch-reference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/board-koelsch-reference.c +1 -1
@@ -85,7 +85,7 @@ static void __init koelsch_add_du_device(void)* This is a really crude hack to provide clkdev support to platform * devices until they get moved to DT. */ -static const struct clk_name clk_names[] = { +static const struct clk_name clk_names[]__initconst = { {"cmt0" ,NULL ,"sh_cmt.0" }, {"scifa0" ,NULL ,"sh-sci.0" }, {"scifa1" ,NULL ,"sh-sci.1" },
Signature · 1 line
1.8.5.2
PATCH 2/2 ARM: shmobile: lager: Annotate clk_names with __initconst
In reply to Simon Horman--- arch/arm/mach-shmobile/board-lager-reference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/board-lager-reference.c +1 -1
@@ -89,7 +89,7 @@ static void __init lager_add_du_device(void)* This is a really crude hack to provide clkdev support to platform * devices until they get moved to DT. */ -static const struct clk_name clk_names[] = { +static const struct clk_name clk_names[]__initconst = { {"cmt0" ,NULL ,"sh_cmt.0" }, {"scifa0" ,NULL ,"sh-sci.0" }, {"scifa1" ,NULL ,"sh-sci.1" },
Signature · 1 line
1.8.5.2
cover ARM: shmobile: koelsch, lager: Annotate clk_names with __initconst
In reply to Simon HormanQuoted 8 lines · Simon Horman
Add
__initconstannotations to recently addedclk_names.Depends on
"[PATCH v2 00/03] ARM: shmobile: Break out and extend clock workaround V2"Simon Horman (2):
ARM: shmobile: koelsch: Annotateclk_nameswith__initconst
ARM: shmobile: lager: Annotateclk_nameswith__initconst
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
cover ARM: shmobile: koelsch, lager: Annotate clk_names with __initconst
Quoted 4 lines · Geert Uytterhoeven
Quoted 2 lines · Simon Horman
Add
__initconstannotations to recently addedclk_names.
Quoted 8 lines
Quoted 6 lines
Depends on
"[PATCH v2 00/03] ARM: shmobile: Break out and extend clock workaround V2"Simon Horman (2):
ARM: shmobile: koelsch: Annotateclk_nameswith__initconst
ARM: shmobile: lager: Annotateclk_nameswith__initconst
Thanks, I will queue these up.