Blob Blame History Raw
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date: Fri, 7 Jun 2019 16:47:13 +0900
Subject: Documentation: DMA-API: fix a function name of max_mapping_size
Git-commit: 99d2b938672944831035bef50c68a6e948e93abf
Patch-mainline: v5.3-rc1
References: bsc#1140954

The exported function name is dma_max_mapping_size(), not
dma_direct_max_mapping_size() so that this patch fixes
the function name in the documentation.

Fixes: 133d624b1cee ("dma: Introduce dma_max_mapping_size()")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Acked-by: Joerg Roedel <jroedel@suse.de>
---
 Documentation/DMA-API.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Documentation/DMA-API.txt
+++ b/Documentation/DMA-API.txt
@@ -181,7 +181,7 @@ call to set the mask to the value return
 ::
 
 	size_t
-	dma_direct_max_mapping_size(struct device *dev);
+	dma_max_mapping_size(struct device *dev);
 
 Returns the maximum size of a mapping for the device. The size parameter
 of the mapping functions like dma_map_single(), dma_map_page() and