diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-01-05 09:36:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-06 08:06:51 -0500 |
commit | c190ab0b2a5fb5cc97576c5f04f4419b6cf8dc8e (patch) | |
tree | 8bc75bb8a30211dbbcc4a3a30a1be2b831392a96 /arch/ia64/kernel/pci-dma.c | |
parent | cdc28d59a31e3fd711982bd07600f3e5b449b9f7 (diff) |
add dma_get_ops to struct ia64_machine_vector
This adds dma_get_ops hook to struct ia64_machine_vector. We use
dma_get_ops() in arch/ia64/kernel/dma-mapping.c, which simply returns
the global dma_ops. This is for removing hwsw_dma_ops.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64/kernel/pci-dma.c')
-rw-r--r-- | arch/ia64/kernel/pci-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c index 1c1224bd0179..640669eba5d4 100644 --- a/arch/ia64/kernel/pci-dma.c +++ b/arch/ia64/kernel/pci-dma.c | |||
@@ -81,7 +81,7 @@ iommu_dma_init(void) | |||
81 | 81 | ||
82 | int iommu_dma_supported(struct device *dev, u64 mask) | 82 | int iommu_dma_supported(struct device *dev, u64 mask) |
83 | { | 83 | { |
84 | struct dma_mapping_ops *ops = get_dma_ops(dev); | 84 | struct dma_mapping_ops *ops = platform_dma_get_ops(dev); |
85 | 85 | ||
86 | if (ops->dma_supported_op) | 86 | if (ops->dma_supported_op) |
87 | return ops->dma_supported_op(dev, mask); | 87 | return ops->dma_supported_op(dev, mask); |