ARM: OMAP2+: free use_gptimer_clksrc variable after boot
authorOussama Ghorbel <ghorbel@pivasoftware.com>
Mon, 14 Apr 2014 16:49:30 +0000 (17:49 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 6 May 2014 00:35:03 +0000 (17:35 -0700)
The variable use_gptimer_clksrc is only used by two __init functions,
So we can freely free it after boot.

Signed-off-by: Oussama Ghorbel <ghorbel@pivasoftware.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c

index b62de9f..842b81f 100644 (file)
@@ -361,7 +361,7 @@ static void __init omap2_gp_clockevent_init(int gptimer_id,
 
 /* Clocksource code */
 static struct omap_dm_timer clksrc;
-static bool use_gptimer_clksrc;
+static bool use_gptimer_clksrc __initdata;
 
 /*
  * clocksource