summaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/common/nlm-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/netlogic/common/nlm-dma.c')
-rw-r--r--arch/mips/netlogic/common/nlm-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/netlogic/common/nlm-dma.c b/arch/mips/netlogic/common/nlm-dma.c
index 0630693bec2a..0ec9d9da6d51 100644
--- a/arch/mips/netlogic/common/nlm-dma.c
+++ b/arch/mips/netlogic/common/nlm-dma.c
@@ -67,7 +67,7 @@ static void nlm_dma_free_coherent(struct device *dev, size_t size,
swiotlb_free_coherent(dev, size, vaddr, dma_handle);
}
-struct dma_map_ops nlm_swiotlb_dma_ops = {
+const struct dma_map_ops nlm_swiotlb_dma_ops = {
.alloc = nlm_dma_alloc_coherent,
.free = nlm_dma_free_coherent,
.map_page = swiotlb_map_page,