diff options
Diffstat (limited to 'arch/powerpc/sysdev/mv64x60_pci.c')
-rw-r--r-- | arch/powerpc/sysdev/mv64x60_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/mv64x60_pci.c b/arch/powerpc/sysdev/mv64x60_pci.c index 6933f9c73b43..d21ab8fa4993 100644 --- a/arch/powerpc/sysdev/mv64x60_pci.c +++ b/arch/powerpc/sysdev/mv64x60_pci.c | |||
@@ -164,8 +164,8 @@ static int __init mv64x60_add_bridge(struct device_node *dev) | |||
164 | 164 | ||
165 | void __init mv64x60_pci_init(void) | 165 | void __init mv64x60_pci_init(void) |
166 | { | 166 | { |
167 | struct device_node *np = NULL; | 167 | struct device_node *np; |
168 | 168 | ||
169 | while ((np = of_find_compatible_node(np, "pci", "marvell,mv64x60-pci"))) | 169 | for_each_compatible_node(np, "pci", "marvell,mv64x60-pci") |
170 | mv64x60_add_bridge(np); | 170 | mv64x60_add_bridge(np); |
171 | } | 171 | } |