aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/timer.c
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2011-09-23 01:51:28 -0400
committerBarry Song <21cnbao@gmail.com>2011-09-30 21:38:39 -0400
commitf70fc57e52fcd6c063eb378c0c370817cf00659e (patch)
treed8627ce6f6577ba98504a88ba960fe267eb18d51 /arch/arm/mach-prima2/timer.c
parentd93dc5c4478c1fd5de85a3e8aece9aad7bbae044 (diff)
ARM: CSR: timer: do not initialise statics to 0 or NULL
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/timer.c')
-rw-r--r--arch/arm/mach-prima2/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-prima2/timer.c b/arch/arm/mach-prima2/timer.c
index ed7ec48d11da..225ed3b8cee3 100644
--- a/arch/arm/mach-prima2/timer.c
+++ b/arch/arm/mach-prima2/timer.c
@@ -133,7 +133,7 @@ static struct irqaction sirfsoc_timer_irq = {
133/* Overwrite weak default sched_clock with more precise one */ 133/* Overwrite weak default sched_clock with more precise one */
134unsigned long long notrace sched_clock(void) 134unsigned long long notrace sched_clock(void)
135{ 135{
136 static int is_mapped = 0; 136 static int is_mapped;
137 137
138 /* 138 /*
139 * sched_clock is called earlier than .init of sys_timer 139 * sched_clock is called earlier than .init of sys_timer