* [PATCH] clk: nomadik: fix missing __init on nomadik_src_init
@ 2013-10-07 17:53 Sebastian Hesselbarth
2013-10-07 23:39 ` Mike Turquette
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Hesselbarth @ 2013-10-07 17:53 UTC (permalink / raw)
To: linux-arm-kernel
nomadik_src_init references __initconst sections but lacks an __init
itself. Add __init to fix the section mismatch.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
Fixing a section mismatch introduced by
"ARM: provide common arch init for DT clocks for v3.13"
Cc: Olof Johansson <olof@lixom.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: "arm at kernel.org" <arm@kernel.org>
Cc: Linux ARM Kernel <linux-arm-kernel@lists.infradead.org>
---
drivers/clk/clk-nomadik.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c
index ce2d6b3..6a934a5 100644
--- a/drivers/clk/clk-nomadik.c
+++ b/drivers/clk/clk-nomadik.c
@@ -86,7 +86,7 @@ static const struct of_device_id nomadik_src_match[] __initconst = {
{ /* sentinel */ }
};
-static void nomadik_src_init(void)
+static void __init nomadik_src_init(void)
{
struct device_node *np;
u32 val;
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] clk: nomadik: fix missing __init on nomadik_src_init
2013-10-07 17:53 [PATCH] clk: nomadik: fix missing __init on nomadik_src_init Sebastian Hesselbarth
@ 2013-10-07 23:39 ` Mike Turquette
0 siblings, 0 replies; 2+ messages in thread
From: Mike Turquette @ 2013-10-07 23:39 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Sebastian Hesselbarth (2013-10-07 10:53:13)
> nomadik_src_init references __initconst sections but lacks an __init
> itself. Add __init to fix the section mismatch.
>
> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
> ---
> Fixing a section mismatch introduced by
> "ARM: provide common arch init for DT clocks for v3.13"
>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Kevin Hilman <khilman@linaro.org>
> Cc: "arm at kernel.org" <arm@kernel.org>
> Cc: Linux ARM Kernel <linux-arm-kernel@lists.infradead.org>
> ---
> drivers/clk/clk-nomadik.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c
> index ce2d6b3..6a934a5 100644
> --- a/drivers/clk/clk-nomadik.c
> +++ b/drivers/clk/clk-nomadik.c
> @@ -86,7 +86,7 @@ static const struct of_device_id nomadik_src_match[] __initconst = {
> { /* sentinel */ }
> };
>
> -static void nomadik_src_init(void)
> +static void __init nomadik_src_init(void)
> {
> struct device_node *np;
> u32 val;
> --
> 1.7.2.5
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-07 23:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 17:53 [PATCH] clk: nomadik: fix missing __init on nomadik_src_init Sebastian Hesselbarth
2013-10-07 23:39 ` Mike Turquette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).