OMAP:2430SDP: kill warning1: remove link to .init.text
Subsystems (3)
PATCH 1/2 OMAP:2430SDP: 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 <[email protected]>
---arch/arm/mach-omap2/timer-gp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/timer-gp.c +0 -0
@@ -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,
};
Signature · 1 line
1.5.0.6