Re: [PATCH 12/12] Move omap_timer to the initdata section.

Tony Lindgren
2007-06-12T13:31:29Z

* Vivien Chappelier <vivien.chappelier@free.fr> [070609 10:41]:
> This patch fixes a warning due to omap_timer not belonging to the
> __initdata
> section as it should.
>
> Signed-off-by: Vivien Chappelier <vivien.chappelier@free.fr>
>
> ---
> arch/arm/mach-omap1/time.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap1/time.c b/arch/arm/mach-omap1/time.c
> index 3705d20..0ba739c 100644
> --- a/arch/arm/mach-omap1/time.c
> +++ b/arch/arm/mach-omap1/time.c
> @@ -289,6 +289,6 @@ static void __init omap_timer_init(void)
> omap_init_clocksource(rate);
> }
> -struct sys_timer omap_timer = {
> +struct sys_timer omap_timer __initdata = {
> .init = omap_timer_init,
> };

We cannot drop sys_timer, it's needed. There have been posts about
this on the list before :)

Tony