diff options
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc836x_mds.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc836x_mds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc836x_mds.c b/arch/powerpc/platforms/83xx/mpc836x_mds.c index db695761158..0b18a75e920 100644 --- a/arch/powerpc/platforms/83xx/mpc836x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc836x_mds.c | |||
@@ -79,7 +79,7 @@ static void __init mpc836x_mds_setup_arch(void) | |||
79 | } | 79 | } |
80 | 80 | ||
81 | #ifdef CONFIG_PCI | 81 | #ifdef CONFIG_PCI |
82 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 82 | for_each_compatible_node(np, "pci", "fsl,mpc8349-pci") |
83 | mpc83xx_add_bridge(np); | 83 | mpc83xx_add_bridge(np); |
84 | #endif | 84 | #endif |
85 | 85 | ||