Skip to content

Commit

Permalink
ARM: integrator: fix compile warning in cpu.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Jan 11, 2011
1 parent c0fdcfa commit 1aa023b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-integrator/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1aa023b

Please sign in to comment.