powerpc/83xx: use for_each_node_by_name for km83xx.c
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Heiko Schocher <hs@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
4a35243319
commit
f7854e72a3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue