aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sun4v.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.c')
-rw-r--r--arch/sparc64/kernel/pci_sun4v.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c
index 233b22b8b576..97a77bcd2555 100644
--- a/arch/sparc64/kernel/pci_sun4v.c
+++ b/arch/sparc64/kernel/pci_sun4v.c
@@ -550,7 +550,7 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm,
550 struct property *prop; 550 struct property *prop;
551 struct device_node *dp; 551 struct device_node *dp;
552 552
553 dp = pbm->prom_node; 553 dp = pbm->op->node;
554 prop = of_find_property(dp, "66mhz-capable", NULL); 554 prop = of_find_property(dp, "66mhz-capable", NULL);
555 pbm->is_66mhz_capable = (prop != NULL); 555 pbm->is_66mhz_capable = (prop != NULL);
556 pbm->pci_bus = pci_scan_one_pbm(pbm, parent); 556 pbm->pci_bus = pci_scan_one_pbm(pbm, parent);
@@ -594,7 +594,7 @@ static int __init pci_sun4v_iommu_init(struct pci_pbm_info *pbm)
594 u32 dma_mask, dma_offset; 594 u32 dma_mask, dma_offset;
595 const u32 *vdma; 595 const u32 *vdma;
596 596
597 vdma = of_get_property(pbm->prom_node, "virtual-dma", NULL); 597 vdma = of_get_property(pbm->op->node, "virtual-dma", NULL);
598 if (!vdma) 598 if (!vdma)
599 vdma = vdma_default; 599 vdma = vdma_default;
600 600
@@ -901,7 +901,7 @@ static int __init pci_sun4v_pbm_init(struct pci_pbm_info *pbm,
901 901
902 pbm->index = pci_num_pbms++; 902 pbm->index = pci_num_pbms++;
903 903
904 pbm->prom_node = dp; 904 pbm->op = op;
905 905
906 pbm->devhandle = devhandle; 906 pbm->devhandle = devhandle;
907 907