]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/85xx/mpc85xx_mds.c
[POWERPC] Remove old includes from arch/ppc
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / 85xx / mpc85xx_mds.c
index 004b80bd0b846457bfa288367822a8ea24ca43cf..53830c9a88fda0b06f9018ea4851c26f3b03de74 100644 (file)
@@ -38,7 +38,6 @@
 #include <asm/time.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc85xx.h>
 #include <asm/irq.h>
@@ -46,6 +45,7 @@
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <sysdev/fsl_soc.h>
+#include <sysdev/fsl_pci.h>
 #include <asm/qe.h>
 #include <asm/qe_ic.h>
 #include <asm/mpic.h>
@@ -94,9 +94,8 @@ static void __init mpc85xx_mds_setup_arch(void)
        }
 
 #ifdef CONFIG_PCI
-       for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) {
-               mpc85xx_add_bridge(np);
-       }
+       for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)
+               fsl_add_bridge(np, 1);
        of_node_put(np);
 #endif
 
@@ -142,7 +141,6 @@ static struct of_device_id mpc85xx_ids[] = {
        { .type = "soc", },
        { .compatible = "soc", },
        { .type = "qe", },
-       { .type = "mdio", },
        {},
 };
 
@@ -208,4 +206,5 @@ define_machine(mpc85xx_mds) {
        .restart        = mpc85xx_restart,
        .calibrate_decr = generic_calibrate_decr,
        .progress       = udbg_progress,
+       .pcibios_fixup_bus      = fsl_pcibios_fixup_bus,
 };