summaryrefslogtreecommitdiffstats
path: root/drivers/base/dma-mapping.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-11-29 20:21:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-30 07:04:53 -0500
commitcd74da957ba2d03787ede1c22bbb183d9c728aad (patch)
tree764dd61a2bbd7695b474f4270c2160d1339dc239 /drivers/base/dma-mapping.c
parent0e0d3d2c5f9901dad9f375614ab4362e95e631ba (diff)
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: 9ac7849e35f70 ("devres: device resource management") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/dma-mapping.c')
-rw-r--r--drivers/base/dma-mapping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/dma-mapping.c b/drivers/base/dma-mapping.c
index 8f8b68c80986..efd71cf4fdea 100644
--- a/drivers/base/dma-mapping.c
+++ b/drivers/base/dma-mapping.c
@@ -108,13 +108,13 @@ void dmam_free_coherent(struct device *dev, size_t size, void *vaddr,
108EXPORT_SYMBOL(dmam_free_coherent); 108EXPORT_SYMBOL(dmam_free_coherent);
109 109
110/** 110/**
111 * dmam_alloc_non_coherent - Managed dma_alloc_non_coherent() 111 * dmam_alloc_non_coherent - Managed dma_alloc_noncoherent()
112 * @dev: Device to allocate non_coherent memory for 112 * @dev: Device to allocate non_coherent memory for
113 * @size: Size of allocation 113 * @size: Size of allocation
114 * @dma_handle: Out argument for allocated DMA handle 114 * @dma_handle: Out argument for allocated DMA handle
115 * @gfp: Allocation flags 115 * @gfp: Allocation flags
116 * 116 *
117 * Managed dma_alloc_non_coherent(). Memory allocated using this 117 * Managed dma_alloc_noncoherent(). Memory allocated using this
118 * function will be automatically released on driver detach. 118 * function will be automatically released on driver detach.
119 * 119 *
120 * RETURNS: 120 * RETURNS: