]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ppc64/kernel/rtas_pci.c
[PATCH] dlpar enable for OF pci probe
[linux-2.6-omap-h63xx.git] / arch / ppc64 / kernel / rtas_pci.c
index 3ad15c90fbbd29f55017735666719c96e79a561c..3c3f19192fcc9e164feab51b342e4d4344c94047 100644 (file)
@@ -440,7 +440,6 @@ struct pci_controller * __devinit init_phb_dynamic(struct device_node *dn)
        struct device_node *root = of_find_node_by_path("/");
        unsigned int root_size_cells = 0;
        struct pci_controller *phb;
-       struct pci_bus *bus;
        int primary;
 
        root_size_cells = prom_n_size_cells(root);
@@ -456,10 +455,7 @@ struct pci_controller * __devinit init_phb_dynamic(struct device_node *dn)
        of_node_put(root);
 
        pci_devs_phb_init_dynamic(phb);
-       phb->last_busno = 0xff;
-       bus = pci_scan_bus(phb->first_busno, phb->ops, phb->arch_data);
-       phb->bus = bus;
-       phb->last_busno = bus->subordinate;
+       scan_phb(phb);
 
        return phb;
 }