aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOussama Ghorbel <ghorbel@pivasoftware.com>2014-04-14 12:49:30 -0400
committerTony Lindgren <tony@atomide.com>2014-05-05 20:35:03 -0400
commit332f19317e50bf9bb7eff16b98403ef11ee25751 (patch)
tree0bda09cb552553847b061766a5f943e820fd2375
parent55fde31cae6a815a184271317abf15f468abcb44 (diff)
ARM: OMAP2+: free use_gptimer_clksrc variable after boot
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>
-rw-r--r--arch/arm/mach-omap2/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index b62de9f9d05c..842b81f31957 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -361,7 +361,7 @@ static void __init omap2_gp_clockevent_init(int gptimer_id,
361 361
362/* Clocksource code */ 362/* Clocksource code */
363static struct omap_dm_timer clksrc; 363static struct omap_dm_timer clksrc;
364static bool use_gptimer_clksrc; 364static bool use_gptimer_clksrc __initdata;
365 365
366/* 366/*
367 * clocksource 367 * clocksource