aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2011-06-20 11:33:18 +0200
committersaid m bagheri <ebgheri@steludxu2848.(none)>2011-06-29 10:30:34 +0200
commit85f28f8b7a016f15c2349c16d022375e535b6b2a (patch)
tree3134657913b8715749df973fa27307ad31855108
parent3d0533f6292f43ebb1eb6adabb3df80f4aec08e7 (diff)
downloadlinux-2.6.38-lt-ux500-85f28f8b7a016f15c2349c16d022375e535b6b2a.tar.gz
ARM: ux500: cpuidle_dbg: Fix build warning
A debug variable was not initialized in every case. ST-Ericsson Linux next: ER338824 ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2641340facb2b6b2b0328bb29b124538c6b24627 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25472
-rw-r--r--arch/arm/mach-ux500/pm/cpuidle_dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/pm/cpuidle_dbg.c b/arch/arm/mach-ux500/pm/cpuidle_dbg.c
index 36c0050a6d7..e17f9d7db68 100644
--- a/arch/arm/mach-ux500/pm/cpuidle_dbg.c
+++ b/arch/arm/mach-ux500/pm/cpuidle_dbg.c
@@ -290,7 +290,7 @@ void ux500_ci_dbg_wake_latency(int ctarget, int sleep_time)
if (!wake_latency || cstates[ctarget].state < CI_IDLE)
return;
- zero_time = ktime_set(0, 0);
+ l = zero_time = ktime_set(0, 0);
sh = per_cpu(state_history, smp_processor_id());
if (cstates[ctarget].state >= CI_SLEEP)