diff options
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx')
-rw-r--r-- | arch/powerpc/platforms/embedded6xx/linkstation.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c b/arch/powerpc/platforms/embedded6xx/linkstation.c index f392374309b3..eb5d74e26fe9 100644 --- a/arch/powerpc/platforms/embedded6xx/linkstation.c +++ b/arch/powerpc/platforms/embedded6xx/linkstation.c | |||
@@ -91,7 +91,7 @@ static void __init linkstation_setup_arch(void) | |||
91 | #endif | 91 | #endif |
92 | 92 | ||
93 | /* Lookup PCI host bridges */ | 93 | /* Lookup PCI host bridges */ |
94 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 94 | for_each_compatible_node(np, "pci", "mpc10x-pci") |
95 | linkstation_add_bridge(np); | 95 | linkstation_add_bridge(np); |
96 | 96 | ||
97 | printk(KERN_INFO "BUFFALO Network Attached Storage Series\n"); | 97 | printk(KERN_INFO "BUFFALO Network Attached Storage Series\n"); |
diff --git a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c index 96737e5608d3..a2c04b9d42b1 100644 --- a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c +++ b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c | |||
@@ -74,7 +74,7 @@ static void __init mpc7448_hpc2_setup_arch(void) | |||
74 | 74 | ||
75 | /* setup PCI host bridge */ | 75 | /* setup PCI host bridge */ |
76 | #ifdef CONFIG_PCI | 76 | #ifdef CONFIG_PCI |
77 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 77 | for_each_compatible_node(np, "pci", "tsi108-pci") |
78 | tsi108_setup_pci(np, MPC7448HPC2_PCI_CFG_PHYS, 0); | 78 | tsi108_setup_pci(np, MPC7448HPC2_PCI_CFG_PHYS, 0); |
79 | 79 | ||
80 | ppc_md.pci_exclude_device = mpc7448_hpc2_exclude_device; | 80 | ppc_md.pci_exclude_device = mpc7448_hpc2_exclude_device; |