PCI: replace struct pci_bus secondary/subordinate with busn_res
[linux-2.6-block.git] / arch / alpha / kernel / pci.c
index 1a629636cc16ae8e17ec16a973d846725eb9c807..53229a496311311101264bc06e62eeb282676c2b 100644 (file)
@@ -359,7 +359,7 @@ common_init_pci(void)
                                        hose, &resources);
                hose->bus = bus;
                hose->need_domain_info = need_domain_info;
-               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) {