diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-11 08:48:17 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-11 08:48:17 -0500 |
commit | 1aa023b8fda8096caf41c20427a0ef396d88eb0f (patch) | |
tree | d9eb0a50457fda3d996517aa81ceffa29b3052c8 | |
parent | c0fdcfa8e9a994176ff1070dced50eeff5f6f851 (diff) |
ARM: integrator: fix compile warning in cpu.c
Fix:
arch/arm/mach-integrator/cpu.c: In function ■integrator_get■:
arch/arm/mach-integrator/cpu.c:164: warning: ■vco.s■ may be used uninitialized in this function
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-integrator/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/cpu.c b/arch/arm/mach-integrator/cpu.c index a3fbcb3adc2..fbb45777989 100644 --- a/arch/arm/mach-integrator/cpu.c +++ b/arch/arm/mach-integrator/cpu.c | |||
@@ -173,7 +173,7 @@ static unsigned int integrator_get(unsigned int cpu) | |||
173 | 173 | ||
174 | if (machine_is_integrator()) { | 174 | if (machine_is_integrator()) { |
175 | vco.s = (cm_osc >> 8) & 7; | 175 | vco.s = (cm_osc >> 8) & 7; |
176 | } else if (machine_is_cintegrator()) { | 176 | } else { |
177 | vco.s = 1; | 177 | vco.s = 1; |
178 | } | 178 | } |
179 | vco.v = cm_osc & 255; | 179 | vco.v = cm_osc & 255; |