drivers: dma-coherent: Fix typo in dma_mmap_from_coherent documentation
The function documentation incorrectly references dma_release_coherent. Fix it. Don't mention a specific function name as dma_mmap_from_coherent as multiple callers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
This commit is contained in:
parent
446c82fc44
commit
ba4d93bc9e
1 changed files with 2 additions and 3 deletions
|
@ -191,9 +191,8 @@ EXPORT_SYMBOL(dma_release_from_coherent);
|
||||||
* This checks whether the memory was allocated from the per-device
|
* This checks whether the memory was allocated from the per-device
|
||||||
* coherent memory pool and if so, maps that memory to the provided vma.
|
* coherent memory pool and if so, maps that memory to the provided vma.
|
||||||
*
|
*
|
||||||
* Returns 1 if we correctly mapped the memory, or 0 if
|
* Returns 1 if we correctly mapped the memory, or 0 if the caller should
|
||||||
* dma_release_coherent() should proceed with mapping memory from
|
* proceed with mapping memory from generic pools.
|
||||||
* generic pools.
|
|
||||||
*/
|
*/
|
||||||
int dma_mmap_from_coherent(struct device *dev, struct vm_area_struct *vma,
|
int dma_mmap_from_coherent(struct device *dev, struct vm_area_struct *vma,
|
||||||
void *vaddr, size_t size, int *ret)
|
void *vaddr, size_t size, int *ret)
|
||||||
|
|
Loading…
Add table
Reference in a new issue