提交 1aa023b8 编写于 作者: R Russell King

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: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 c0fdcfa8
...@@ -173,7 +173,7 @@ static unsigned int integrator_get(unsigned int cpu) ...@@ -173,7 +173,7 @@ static unsigned int integrator_get(unsigned int cpu)
if (machine_is_integrator()) { if (machine_is_integrator()) {
vco.s = (cm_osc >> 8) & 7; vco.s = (cm_osc >> 8) & 7;
} else if (machine_is_cintegrator()) { } else {
vco.s = 1; vco.s = 1;
} }
vco.v = cm_osc & 255; vco.v = cm_osc & 255;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册