diff options
author | Barry Song <Baohua.Song@csr.com> | 2011-09-22 22:51:28 -0700 |
---|---|---|
committer | Barry Song <21cnbao@gmail.com> | 2011-10-01 09:38:39 +0800 |
commit | f70fc57e52fcd6c063eb378c0c370817cf00659e (patch) | |
tree | d8627ce6f6577ba98504a88ba960fe267eb18d51 /arch/arm | |
parent | d93dc5c4478c1fd5de85a3e8aece9aad7bbae044 (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.c | 2 |
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 |