forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
c0fdcfa8e9
commit
1aa023b8fd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user