OSDN Git Service

Documentation: DMA-API: fix a function name of max_mapping_size
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 7 Jun 2019 07:47:13 +0000 (16:47 +0900)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 Jun 2019 17:10:33 +0000 (11:10 -0600)
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>
Documentation/DMA-API.txt

index 0076150..e47c63b 100644 (file)
@@ -198,7 +198,7 @@ call to set the mask to the value returned.
 ::
 
        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