summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson64/common/dma-swiotlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson64/common/dma-swiotlb.c')
-rw-r--r--arch/mips/loongson64/common/dma-swiotlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson64/common/dma-swiotlb.c b/arch/mips/loongson64/common/dma-swiotlb.c
index df7235e33499..178ca17a5667 100644
--- a/arch/mips/loongson64/common/dma-swiotlb.c
+++ b/arch/mips/loongson64/common/dma-swiotlb.c
@@ -114,7 +114,7 @@ phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr)
return daddr;
}
-static struct dma_map_ops loongson_dma_map_ops = {
+static const struct dma_map_ops loongson_dma_map_ops = {
.alloc = loongson_dma_alloc_coherent,
.free = loongson_dma_free_coherent,
.map_page = loongson_dma_map_page,