summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma-buf/udmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index d99a9b59d350..e3560e840dd7 100644
--- a/drivers/dma-buf/udmabuf.c
+++ b/drivers/dma-buf/udmabuf.c
@@ -104,7 +104,7 @@ static void kunmap_udmabuf(struct dma_buf *buf, unsigned long page_num,
104 kunmap(vaddr); 104 kunmap(vaddr);
105} 105}
106 106
107static struct dma_buf_ops udmabuf_ops = { 107static const struct dma_buf_ops udmabuf_ops = {
108 .map_dma_buf = map_udmabuf, 108 .map_dma_buf = map_udmabuf,
109 .unmap_dma_buf = unmap_udmabuf, 109 .unmap_dma_buf = unmap_udmabuf,
110 .release = release_udmabuf, 110 .release = release_udmabuf,