summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/dma-mapping.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2011-01-12 18:50:37 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-12 20:42:13 +0100
commit0adfca6ff2131c7c67dffe094611097bbc9f5005 (patch)
treed363a54d73dce6542ae54473d102ca092a82bb3d /arch/arm/mm/dma-mapping.c
parentARM: 6621/1: bitops: remove condition code clobber for CLZ (diff)
downloadlinux-0adfca6ff2131c7c67dffe094611097bbc9f5005.tar.xz
linux-0adfca6ff2131c7c67dffe094611097bbc9f5005.zip
ARM: 6622/1: fix dma_unmap_sg() documentation
The kerneldoc for this function is at odds with the DMA-API document, which holds, so fix it. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/dma-mapping.c')
-rw-r--r--arch/arm/mm/dma-mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 6b48e0a3d7aa..4771dba61448 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -577,7 +577,7 @@ EXPORT_SYMBOL(dma_map_sg);
* dma_unmap_sg - unmap a set of SG buffers mapped by dma_map_sg
* @dev: valid struct device pointer, or NULL for ISA and EISA-like devices
* @sg: list of buffers
- * @nents: number of buffers to unmap (returned from dma_map_sg)
+ * @nents: number of buffers to unmap (same as was passed to dma_map_sg)
* @dir: DMA transfer direction (same as was passed to dma_map_sg)
*
* Unmap a set of streaming mode DMA translations. Again, CPU access