public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] OMAP: Kill compile warnings
@ 2007-05-25 23:04 nishanth menon
  2007-05-25 23:12 ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: nishanth menon @ 2007-05-25 23:04 UTC (permalink / raw)
  To: Linux OMAP

Got the subject wrong last time.. Sorry..
kill warning1: remove link to .init.text
omap_timer refers to __init omap2_gp_timer_init function causing a warning
while the linking is done

Signed-off-by: Nishanth Menon <menon.nishanth@gmail.com>
---
 arch/arm/mach-omap2/timer-gp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c
index 8f380a1..f4cf6fe 100644
--- a/arch/arm/mach-omap2/timer-gp.c
+++ b/arch/arm/mach-omap2/timer-gp.c
@@ -175,6 +175,6 @@ static void __init omap2_gp_timer_init(void)
 	omap2_gp_clocksource_init();
 }

-struct sys_timer omap_timer = {
-	.init	= omap2_gp_timer_init,
+struct sys_timer omap_timer __initdata = {
+	.init	 = omap2_gp_timer_init,
 };
-- 
1.5.0.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-06-05 10:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 23:04 [PATCH 1/2] OMAP: Kill compile warnings nishanth menon
2007-05-25 23:12 ` Tony Lindgren
2007-05-25 23:17   ` Syed Mohammed, Khasim
2007-05-25 23:23     ` nishanth menon
2007-05-25 23:25       ` Syed Mohammed, Khasim
2007-05-26  5:38         ` Dirk Behme
2007-06-05 10:11           ` Tony Lindgren
2007-06-05 10:21             ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox