提交 cd74da95 编写于 作者: F Florian Fainelli 提交者: Greg Kroah-Hartman

drivers: base: dma-mapping: Fix typo in dmam_alloc_non_coherent comments

The function we are wrapping is named dma_alloc_noncoherent, and
not dma_alloc_non_coherent.

Fixes: 9ac7849e ("devres: device resource management")
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0e0d3d2c
...@@ -108,13 +108,13 @@ void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, ...@@ -108,13 +108,13 @@ void dmam_free_coherent(struct device *dev, size_t size, void *vaddr,
EXPORT_SYMBOL(dmam_free_coherent); EXPORT_SYMBOL(dmam_free_coherent);
/** /**
* dmam_alloc_non_coherent - Managed dma_alloc_non_coherent() * dmam_alloc_non_coherent - Managed dma_alloc_noncoherent()
* @dev: Device to allocate non_coherent memory for * @dev: Device to allocate non_coherent memory for
* @size: Size of allocation * @size: Size of allocation
* @dma_handle: Out argument for allocated DMA handle * @dma_handle: Out argument for allocated DMA handle
* @gfp: Allocation flags * @gfp: Allocation flags
* *
* Managed dma_alloc_non_coherent(). Memory allocated using this * Managed dma_alloc_noncoherent(). Memory allocated using this
* function will be automatically released on driver detach. * function will be automatically released on driver detach.
* *
* RETURNS: * RETURNS:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册