aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/celleb/iommu.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-03-04 00:58:39 -0500
committerPaul Mackerras <paulus@samba.org>2007-03-08 23:03:25 -0500
commit9874777016e06ad2df420237963e81389776cb6d (patch)
treeabd509f5d37da4f8e2cdef8e3e41ec498c4a10ca /arch/powerpc/platforms/celleb/iommu.c
parent618d3adc351a24c4c48437c767befb88ca2d199d (diff)
[POWERPC] Create and use set_pci_dma_ops
This will allow us to build without PCI easier. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/celleb/iommu.c')
-rw-r--r--arch/powerpc/platforms/celleb/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/celleb/iommu.c b/arch/powerpc/platforms/celleb/iommu.c
index f63b94c6535..fecc4ffd475 100644
--- a/arch/powerpc/platforms/celleb/iommu.c
+++ b/arch/powerpc/platforms/celleb/iommu.c
@@ -95,7 +95,7 @@ static int __init celleb_init_iommu(void)
95 return -ENODEV; 95 return -ENODEV;
96 96
97 celleb_init_direct_mapping(); 97 celleb_init_direct_mapping();
98 pci_dma_ops = &dma_direct_ops; 98 set_pci_dma_ops(&dma_direct_ops);
99 bus_register_notifier(&of_platform_bus_type, &celleb_of_bus_notifier); 99 bus_register_notifier(&of_platform_bus_type, &celleb_of_bus_notifier);
100 100
101 return 0; 101 return 0;