提交 f7854e72 编写于 作者: H Holger Brunck 提交者: Kumar Gala

powerpc/83xx: use for_each_node_by_name for km83xx.c

Signed-off-by: NHolger Brunck <holger.brunck@keymile.com>
cc: Heiko Schocher <hs@denx.de>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 4a352433
......@@ -70,7 +70,7 @@ static void __init mpc83xx_km_setup_arch(void)
for_each_node_by_name(np, "spi")
par_io_of_config(np);
for (np = NULL; (np = of_find_node_by_name(np, "ucc")) != NULL;)
for_each_node_by_name(np, "ucc")
par_io_of_config(np);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册