diff options
-rw-r--r-- | drivers/base/dma-buf.c | 1 | ||||
-rw-r--r-- | drivers/base/dma-coherent.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c index 24e88fe29ec1..c30f3e1d0efc 100644 --- a/drivers/base/dma-buf.c +++ b/drivers/base/dma-buf.c | |||
@@ -493,6 +493,7 @@ EXPORT_SYMBOL_GPL(dma_buf_vmap); | |||
493 | /** | 493 | /** |
494 | * dma_buf_vunmap - Unmap a vmap obtained by dma_buf_vmap. | 494 | * dma_buf_vunmap - Unmap a vmap obtained by dma_buf_vmap. |
495 | * @dmabuf: [in] buffer to vunmap | 495 | * @dmabuf: [in] buffer to vunmap |
496 | * @vaddr: [in] vmap to vunmap | ||
496 | */ | 497 | */ |
497 | void dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr) | 498 | void dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr) |
498 | { | 499 | { |
diff --git a/drivers/base/dma-coherent.c b/drivers/base/dma-coherent.c index 1b85949e3d2f..560a7173f810 100644 --- a/drivers/base/dma-coherent.c +++ b/drivers/base/dma-coherent.c | |||
@@ -186,6 +186,7 @@ EXPORT_SYMBOL(dma_release_from_coherent); | |||
186 | * @vma: vm_area for the userspace memory | 186 | * @vma: vm_area for the userspace memory |
187 | * @vaddr: cpu address returned by dma_alloc_from_coherent | 187 | * @vaddr: cpu address returned by dma_alloc_from_coherent |
188 | * @size: size of the memory buffer allocated by dma_alloc_from_coherent | 188 | * @size: size of the memory buffer allocated by dma_alloc_from_coherent |
189 | * @ret: result from remap_pfn_range() | ||
189 | * | 190 | * |
190 | * This checks whether the memory was allocated from the per-device | 191 | * This checks whether the memory was allocated from the per-device |
191 | * coherent memory pool and if so, maps that memory to the provided vma. | 192 | * coherent memory pool and if so, maps that memory to the provided vma. |