Commit a3485289 authored by Gerd Hoffmann's avatar Gerd Hoffmann
parent b35f57c4
...@@ -104,7 +104,7 @@ static void kunmap_udmabuf(struct dma_buf *buf, unsigned long page_num, ...@@ -104,7 +104,7 @@ static void kunmap_udmabuf(struct dma_buf *buf, unsigned long page_num,
kunmap(vaddr); kunmap(vaddr);
} }
static struct dma_buf_ops udmabuf_ops = { static const struct dma_buf_ops udmabuf_ops = {
.map_dma_buf = map_udmabuf, .map_dma_buf = map_udmabuf,
.unmap_dma_buf = unmap_udmabuf, .unmap_dma_buf = unmap_udmabuf,
.release = release_udmabuf, .release = release_udmabuf,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment