diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-11 13:48:17 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-11 13:48:17 (GMT) |
commit | 1aa023b8fda8096caf41c20427a0ef396d88eb0f (patch) | |
tree | d9eb0a50457fda3d996517aa81ceffa29b3052c8 /arch/arm/mach-integrator | |
parent | c0fdcfa8e9a994176ff1070dced50eeff5f6f851 (diff) | |
download | linux-1aa023b8fda8096caf41c20427a0ef396d88eb0f.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-integrator')
-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 a3fbcb3a..fbb4577 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) if (machine_is_integrator()) { vco.s = (cm_osc >> 8) & 7; - } else if (machine_is_cintegrator()) { + } else { vco.s = 1; } vco.v = cm_osc & 255; |