aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/82xx/pq2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/82xx/pq2.c b/arch/powerpc/platforms/82xx/pq2.c
index fb94d10e5a4d..fc8b2d6a7d8d 100644
--- a/arch/powerpc/platforms/82xx/pq2.c
+++ b/arch/powerpc/platforms/82xx/pq2.c
@@ -71,11 +71,11 @@ err:
71 71
72void __init pq2_init_pci(void) 72void __init pq2_init_pci(void)
73{ 73{
74 struct device_node *np = NULL; 74 struct device_node *np;
75 75
76 ppc_md.pci_exclude_device = pq2_pci_exclude_device; 76 ppc_md.pci_exclude_device = pq2_pci_exclude_device;
77 77
78 while ((np = of_find_compatible_node(np, NULL, "fsl,pq2-pci"))) 78 for_each_compatible_node(np, NULL, "fsl,pq2-pci")
79 pq2_pci_add_bridge(np); 79 pq2_pci_add_bridge(np);
80} 80}
81#endif 81#endif