diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_fire.c')
-rw-r--r-- | arch/sparc64/kernel/pci_fire.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci_fire.c b/arch/sparc64/kernel/pci_fire.c index ac40529a5721..5df31300b4d9 100644 --- a/arch/sparc64/kernel/pci_fire.c +++ b/arch/sparc64/kernel/pci_fire.c | |||
@@ -317,6 +317,8 @@ static void pci_fire_pbm_init(struct pci_controller_info *p, | |||
317 | pbm->scan_bus = pci_fire_scan_bus; | 317 | pbm->scan_bus = pci_fire_scan_bus; |
318 | pbm->pci_ops = &pci_fire_ops; | 318 | pbm->pci_ops = &pci_fire_ops; |
319 | 319 | ||
320 | pbm->index = pci_num_pbms++; | ||
321 | |||
320 | pbm->portid = portid; | 322 | pbm->portid = portid; |
321 | pbm->parent = p; | 323 | pbm->parent = p; |
322 | pbm->prom_node = dp; | 324 | pbm->prom_node = dp; |
@@ -373,8 +375,6 @@ void fire_pci_init(struct device_node *dp, const char *model_name) | |||
373 | 375 | ||
374 | p->pbm_B.iommu = iommu; | 376 | p->pbm_B.iommu = iommu; |
375 | 377 | ||
376 | p->index = pci_num_controllers++; | ||
377 | |||
378 | /* XXX MSI support XXX */ | 378 | /* XXX MSI support XXX */ |
379 | 379 | ||
380 | /* Like PSYCHO and SCHIZO we have a 2GB aligned area | 380 | /* Like PSYCHO and SCHIZO we have a 2GB aligned area |