summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2011-09-22 22:51:28 -0700
committerBarry Song <21cnbao@gmail.com>2011-10-01 09:38:39 +0800
commitf70fc57e52fcd6c063eb378c0c370817cf00659e (patch)
treed8627ce6f6577ba98504a88ba960fe267eb18d51 /arch/arm
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')
-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 ed7ec48d11d..225ed3b8cee 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 = {
/* Overwrite weak default sched_clock with more precise one */
unsigned long long notrace sched_clock(void)
{
- static int is_mapped = 0;
+ static int is_mapped;
/*
* sched_clock is called earlier than .init of sys_timer