diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-01-03 05:13:37 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-17 04:57:20 +0100 |
commit | 85e99b9fffb62e101e38c74c935256fc589703c2 (patch) | |
tree | 60e27e43527332ac21be5c1c0ee95f11a61d6cf1 /arch/powerpc/kernel/ibmebus.c | |
parent | [POWERPC] cell: Use machine_*_initcall() hooks in platform code (diff) | |
download | linux-85e99b9fffb62e101e38c74c935256fc589703c2.tar.xz linux-85e99b9fffb62e101e38c74c935256fc589703c2.zip |
[POWERPC] arch/powerpc/kernel: Use for_each_child_of_node
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/ibmebus.c')
-rw-r--r-- | arch/powerpc/kernel/ibmebus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index 3b708449f731..fd5ae8d17c96 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arch/powerpc/kernel/ibmebus.c @@ -172,7 +172,7 @@ static int ibmebus_create_devices(const struct of_device_id *matches) root = of_find_node_by_path("/"); - for (child = NULL; (child = of_get_next_child(root, child)); ) { + for_each_child_of_node(root, child) { if (!of_match_node(matches, child)) continue; |