diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-08-04 15:08:23 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-28 00:24:09 -0400 |
commit | 3702977fa7d1a1a95caa387121fa7c9f4cae35f3 (patch) | |
tree | 8d77c9fb86d49feac2354491a8e4cca05ae5f612 /arch/powerpc/kernel | |
parent | 762afb7317b1987fa0851135fe4f2947f68c3c2a (diff) |
powerpc: Remove swiotlb_pci_dma_ops
Now swiotlb_pci_dma_ops is identical to swiotlb_dma_ops; we can use
swiotlb_dma_ops with any devices. This removes swiotlb_pci_dma_ops.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/dma-swiotlb.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/kernel/dma-swiotlb.c b/arch/powerpc/kernel/dma-swiotlb.c index c9f6a302e879..ca141e108ae3 100644 --- a/arch/powerpc/kernel/dma-swiotlb.c +++ b/arch/powerpc/kernel/dma-swiotlb.c | |||
@@ -45,20 +45,6 @@ struct dma_mapping_ops swiotlb_dma_ops = { | |||
45 | .sync_sg_for_device = swiotlb_sync_sg_for_device | 45 | .sync_sg_for_device = swiotlb_sync_sg_for_device |
46 | }; | 46 | }; |
47 | 47 | ||
48 | struct dma_mapping_ops swiotlb_pci_dma_ops = { | ||
49 | .alloc_coherent = dma_direct_alloc_coherent, | ||
50 | .free_coherent = dma_direct_free_coherent, | ||
51 | .map_sg = swiotlb_map_sg_attrs, | ||
52 | .unmap_sg = swiotlb_unmap_sg_attrs, | ||
53 | .dma_supported = swiotlb_dma_supported, | ||
54 | .map_page = swiotlb_map_page, | ||
55 | .unmap_page = swiotlb_unmap_page, | ||
56 | .sync_single_range_for_cpu = swiotlb_sync_single_range_for_cpu, | ||
57 | .sync_single_range_for_device = swiotlb_sync_single_range_for_device, | ||
58 | .sync_sg_for_cpu = swiotlb_sync_sg_for_cpu, | ||
59 | .sync_sg_for_device = swiotlb_sync_sg_for_device | ||
60 | }; | ||
61 | |||
62 | void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev) | 48 | void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev) |
63 | { | 49 | { |
64 | struct pci_controller *hose; | 50 | struct pci_controller *hose; |