diff options
Diffstat (limited to 'arch/sparc/kernel/iommu.c')
-rw-r--r-- | arch/sparc/kernel/iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/iommu.c b/arch/sparc/kernel/iommu.c index a9f0ad955186..74b289cab552 100644 --- a/arch/sparc/kernel/iommu.c +++ b/arch/sparc/kernel/iommu.c | |||
@@ -826,7 +826,7 @@ static void dma_4u_sync_sg_for_cpu(struct device *dev, | |||
826 | spin_unlock_irqrestore(&iommu->lock, flags); | 826 | spin_unlock_irqrestore(&iommu->lock, flags); |
827 | } | 827 | } |
828 | 828 | ||
829 | static const struct dma_map_ops sun4u_dma_ops = { | 829 | static struct dma_map_ops sun4u_dma_ops = { |
830 | .alloc_coherent = dma_4u_alloc_coherent, | 830 | .alloc_coherent = dma_4u_alloc_coherent, |
831 | .free_coherent = dma_4u_free_coherent, | 831 | .free_coherent = dma_4u_free_coherent, |
832 | .map_page = dma_4u_map_page, | 832 | .map_page = dma_4u_map_page, |
@@ -837,7 +837,7 @@ static const struct dma_map_ops sun4u_dma_ops = { | |||
837 | .sync_sg_for_cpu = dma_4u_sync_sg_for_cpu, | 837 | .sync_sg_for_cpu = dma_4u_sync_sg_for_cpu, |
838 | }; | 838 | }; |
839 | 839 | ||
840 | const struct dma_map_ops *dma_ops = &sun4u_dma_ops; | 840 | struct dma_map_ops *dma_ops = &sun4u_dma_ops; |
841 | EXPORT_SYMBOL(dma_ops); | 841 | EXPORT_SYMBOL(dma_ops); |
842 | 842 | ||
843 | int dma_supported(struct device *dev, u64 device_mask) | 843 | int dma_supported(struct device *dev, u64 device_mask) |