aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sabre.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci_sabre.c')
-rw-r--r--arch/sparc64/kernel/pci_sabre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c
index 8f779b58d65a..196049bb14b2 100644
--- a/arch/sparc64/kernel/pci_sabre.c
+++ b/arch/sparc64/kernel/pci_sabre.c
@@ -543,7 +543,7 @@ static irqreturn_t sabre_pcierr_intr(int irq, void *dev_id)
543 543
544static void sabre_register_error_handlers(struct pci_pbm_info *pbm) 544static void sabre_register_error_handlers(struct pci_pbm_info *pbm)
545{ 545{
546 struct device_node *dp = pbm->prom_node; 546 struct device_node *dp = pbm->op->node;
547 struct of_device *op; 547 struct of_device *op;
548 unsigned long base = pbm->controller_regs; 548 unsigned long base = pbm->controller_regs;
549 u64 tmp; 549 u64 tmp;
@@ -750,7 +750,7 @@ static void __init sabre_pbm_init(struct pci_pbm_info *pbm,
750 pbm->index = pci_num_pbms++; 750 pbm->index = pci_num_pbms++;
751 751
752 pbm->chip_type = PBM_CHIP_TYPE_SABRE; 752 pbm->chip_type = PBM_CHIP_TYPE_SABRE;
753 pbm->prom_node = dp; 753 pbm->op = op;
754 pci_get_pbm_props(pbm); 754 pci_get_pbm_props(pbm);
755 755
756 pci_determine_mem_io_space(pbm); 756 pci_determine_mem_io_space(pbm);