From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 12/12] Move omap_timer to the initdata section. Date: Tue, 12 Jun 2007 06:31:29 -0700 Message-ID: <20070612133129.GF28834@atomide.com> References: <466AE4F5.3010101@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <466AE4F5.3010101@free.fr> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Vivien Chappelier Cc: Linux OMAP List-Id: linux-omap@vger.kernel.org * Vivien Chappelier [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 > > --- > 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