diff options
Diffstat (limited to 'arch/powerpc/platforms/52xx/mpc52xx_pci.c')
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_pci.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pci.c b/arch/powerpc/platforms/52xx/mpc52xx_pci.c index 262eda8659d..4b79398b2e4 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_pci.c | |||
@@ -406,3 +406,17 @@ mpc52xx_add_bridge(struct device_node *node) | |||
406 | 406 | ||
407 | return 0; | 407 | return 0; |
408 | } | 408 | } |
409 | |||
410 | void __init mpc52xx_setup_pci(void) | ||
411 | { | ||
412 | struct device_node *pci; | ||
413 | |||
414 | pci = of_find_compatible_node(NULL, NULL, "fsl,mpc5200-pci"); | ||
415 | if (!pci) | ||
416 | pci = of_find_compatible_node(NULL, NULL, "mpc5200-pci"); | ||
417 | if (!pci) | ||
418 | return; | ||
419 | |||
420 | mpc52xx_add_bridge(pci); | ||
421 | of_node_put(pci); | ||
422 | } | ||