diff options
Diffstat (limited to 'arch/powerpc/platforms/powermac/pci.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/pci.c b/arch/powerpc/platforms/powermac/pci.c index cf7009b8c7b6..7e868ccf3b0d 100644 --- a/arch/powerpc/platforms/powermac/pci.c +++ b/arch/powerpc/platforms/powermac/pci.c | |||
@@ -698,7 +698,7 @@ static void __init fixup_nec_usb2(void) | |||
698 | { | 698 | { |
699 | struct device_node *nec; | 699 | struct device_node *nec; |
700 | 700 | ||
701 | for (nec = NULL; (nec = of_find_node_by_name(nec, "usb")) != NULL;) { | 701 | for_each_node_by_name(nec, "usb") { |
702 | struct pci_controller *hose; | 702 | struct pci_controller *hose; |
703 | u32 data; | 703 | u32 data; |
704 | const u32 *prop; | 704 | const u32 *prop; |