[PATCH] asm-generic/scatterlist.h: Refer to "dma_map_sg" instead of "pci_map_sg"
From: Geert Uytterhoeven
Date: Thu May 21 2015 - 07:45:57 EST
The PCI DMA API predates the generic DMA API, while the latter is
recommended. Add parentheses to make clear this is a C function.
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
include/asm-generic/scatterlist.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/scatterlist.h b/include/asm-generic/scatterlist.h
index 5de07355fad492b1..30668d1e0f684fe6 100644
--- a/include/asm-generic/scatterlist.h
+++ b/include/asm-generic/scatterlist.h
@@ -19,7 +19,7 @@ struct scatterlist {
/*
* These macros should be used after a dma_map_sg call has been done
* to get bus addresses of each of the SG entries and their lengths.
- * You should only work with the number of sg entries pci_map_sg
+ * You should only work with the number of sg entries dma_map_sg()
* returns, or alternatively stop on the first sg_dma_len(sg) which
* is 0.
*/
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/