[PATCH] clk: nomadik: fix missing __init on nomadik_src_init
Mike Turquette
mturquette at linaro.org
Mon Oct 7 19:39:02 EDT 2013
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 at gmail.com>
Acked-by: Mike Turquette <mturquette at linaro.org>
> ---
> Fixing a section mismatch introduced by
> "ARM: provide common arch init for DT clocks for v3.13"
>
> Cc: Olof Johansson <olof at lixom.net>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: Kevin Hilman <khilman at linaro.org>
> Cc: "arm at kernel.org" <arm at kernel.org>
> Cc: Linux ARM Kernel <linux-arm-kernel at 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
More information about the linux-arm-kernel
mailing list