diff options
author | Sumit Semwal <sumit.semwal@ti.com> | 2012-05-23 05:57:40 -0400 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@ti.com> | 2012-05-25 03:16:23 -0400 |
commit | 12c4727e1d5370270a7df781d2ba0a76e05c1137 (patch) | |
tree | 2b0d4f5fbce329467e700f557d50b2cc126a4190 /drivers/base | |
parent | 98f86c9e4ae3205e4c85c535691a5d36426360ee (diff) |
dma-buf: minor documentation fixes.
Some minor inline documentation fixes for gaps resulting from new patches.
Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/dma-buf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c index d43d80256fda..20258e179211 100644 --- a/drivers/base/dma-buf.c +++ b/drivers/base/dma-buf.c | |||
@@ -429,7 +429,7 @@ EXPORT_SYMBOL_GPL(dma_buf_kunmap); | |||
429 | 429 | ||
430 | /** | 430 | /** |
431 | * dma_buf_mmap - Setup up a userspace mmap with the given vma | 431 | * dma_buf_mmap - Setup up a userspace mmap with the given vma |
432 | * @dma_buf: [in] buffer that should back the vma | 432 | * @dmabuf: [in] buffer that should back the vma |
433 | * @vma: [in] vma for the mmap | 433 | * @vma: [in] vma for the mmap |
434 | * @pgoff: [in] offset in pages where this mmap should start within the | 434 | * @pgoff: [in] offset in pages where this mmap should start within the |
435 | * dma-buf buffer. | 435 | * dma-buf buffer. |
@@ -470,8 +470,9 @@ int dma_buf_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma, | |||
470 | EXPORT_SYMBOL_GPL(dma_buf_mmap); | 470 | EXPORT_SYMBOL_GPL(dma_buf_mmap); |
471 | 471 | ||
472 | /** | 472 | /** |
473 | * dma_buf_vmap - Create virtual mapping for the buffer object into kernel address space. Same restrictions as for vmap and friends apply. | 473 | * dma_buf_vmap - Create virtual mapping for the buffer object into kernel |
474 | * @dma_buf: [in] buffer to vmap | 474 | * address space. Same restrictions as for vmap and friends apply. |
475 | * @dmabuf: [in] buffer to vmap | ||
475 | * | 476 | * |
476 | * This call may fail due to lack of virtual mapping address space. | 477 | * This call may fail due to lack of virtual mapping address space. |
477 | * These calls are optional in drivers. The intended use for them | 478 | * These calls are optional in drivers. The intended use for them |
@@ -491,7 +492,7 @@ EXPORT_SYMBOL_GPL(dma_buf_vmap); | |||
491 | 492 | ||
492 | /** | 493 | /** |
493 | * dma_buf_vunmap - Unmap a vmap obtained by dma_buf_vmap. | 494 | * dma_buf_vunmap - Unmap a vmap obtained by dma_buf_vmap. |
494 | * @dma_buf: [in] buffer to vmap | 495 | * @dmabuf: [in] buffer to vunmap |
495 | */ | 496 | */ |
496 | void dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr) | 497 | void dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr) |
497 | { | 498 | { |