aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-noop.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dma-noop.c')
-rw-r--r--lib/dma-noop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dma-noop.c b/lib/dma-noop.c
index 3d766e78fbe2..de26c8b68f34 100644
--- a/lib/dma-noop.c
+++ b/lib/dma-noop.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * lib/dma-noop.c 2 * lib/dma-noop.c
3 * 3 *
4 * Simple DMA noop-ops that map 1:1 with memory 4 * DMA operations that map to physical addresses without flushing memory.
5 */ 5 */
6#include <linux/export.h> 6#include <linux/export.h>
7#include <linux/mm.h> 7#include <linux/mm.h>
@@ -64,7 +64,7 @@ static int dma_noop_supported(struct device *dev, u64 mask)
64 return 1; 64 return 1;
65} 65}
66 66
67struct dma_map_ops dma_noop_ops = { 67const struct dma_map_ops dma_noop_ops = {
68 .alloc = dma_noop_alloc, 68 .alloc = dma_noop_alloc,
69 .free = dma_noop_free, 69 .free = dma_noop_free,
70 .map_page = dma_noop_map_page, 70 .map_page = dma_noop_map_page,