aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dart_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
-rw-r--r--arch/powerpc/sysdev/dart_iommu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c
index 9e5353ff6d1b..d00a5663e312 100644
--- a/arch/powerpc/sysdev/dart_iommu.c
+++ b/arch/powerpc/sysdev/dart_iommu.c
@@ -369,7 +369,7 @@ static int dart_dma_set_mask(struct device *dev, u64 dma_mask)
369 return 0; 369 return 0;
370} 370}
371 371
372void __init iommu_init_early_dart(void) 372void __init iommu_init_early_dart(struct pci_controller_ops *controller_ops)
373{ 373{
374 struct device_node *dn; 374 struct device_node *dn;
375 375
@@ -395,8 +395,8 @@ void __init iommu_init_early_dart(void)
395 if (dart_is_u4) 395 if (dart_is_u4)
396 ppc_md.dma_set_mask = dart_dma_set_mask; 396 ppc_md.dma_set_mask = dart_dma_set_mask;
397 397
398 ppc_md.pci_dma_dev_setup = pci_dma_dev_setup_dart; 398 controller_ops->dma_dev_setup = pci_dma_dev_setup_dart;
399 ppc_md.pci_dma_bus_setup = pci_dma_bus_setup_dart; 399 controller_ops->dma_bus_setup = pci_dma_bus_setup_dart;
400 400
401 /* Setup pci_dma ops */ 401 /* Setup pci_dma ops */
402 set_pci_dma_ops(&dma_iommu_ops); 402 set_pci_dma_ops(&dma_iommu_ops);
@@ -404,8 +404,8 @@ void __init iommu_init_early_dart(void)
404 404
405 bail: 405 bail:
406 /* If init failed, use direct iommu and null setup functions */ 406 /* If init failed, use direct iommu and null setup functions */
407 ppc_md.pci_dma_dev_setup = NULL; 407 controller_ops->dma_dev_setup = NULL;
408 ppc_md.pci_dma_bus_setup = NULL; 408 controller_ops->dma_bus_setup = NULL;
409 409
410 /* Setup pci_dma ops */ 410 /* Setup pci_dma ops */
411 set_pci_dma_ops(&dma_direct_ops); 411 set_pci_dma_ops(&dma_direct_ops);