summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2011-09-23 07:51:28 +0200
committerBarry Song <21cnbao@gmail.com>2011-10-01 03:38:39 +0200
commitf70fc57e52fcd6c063eb378c0c370817cf00659e (patch)
treed8627ce6f6577ba98504a88ba960fe267eb18d51 /arch/arm/mach-prima2
parentLinux 3.1-rc7 (diff)
downloadlinux-f70fc57e52fcd6c063eb378c0c370817cf00659e.tar.xz
linux-f70fc57e52fcd6c063eb378c0c370817cf00659e.zip
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')
-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 = {
/* 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