Merge branch 'pci/myron-pcibios_setup' into next
[linux.git] / arch / sh / drivers / pci / pci.c
index 7d42288e1057136a36adc5f12ea9d5c9404ab460..40db2d0aef3f36ab3873d985a7117383c64d0626 100644 (file)
@@ -59,7 +59,7 @@ static void __devinit pcibios_scanbus(struct pci_channel *hose)
        need_domain_info = need_domain_info || hose->index;
        hose->need_domain_info = need_domain_info;
        if (bus) {
-               next_busno = bus->subordinate + 1;
+               next_busno = bus->busn_res.end + 1;
                /* Don't allow 8-bit bus number overflow inside the hose -
                   reserve some space for bridges. */
                if (next_busno > 224) {
This page took 0.033617 seconds and 4 git commands to generate.