summaryrefslogtreecommitdiffstats
path: root/Documentation/DMA-API.txt
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2019-06-07 09:47:13 +0200
committerJonathan Corbet <corbet@lwn.net>2019-06-07 19:10:33 +0200
commit99d2b938672944831035bef50c68a6e948e93abf (patch)
tree7658f769c865d8f1319007aadd78e71c802a6b54 /Documentation/DMA-API.txt
parentdocs/core-api: Add integer power functions to the list (diff)
downloadlinux-99d2b938672944831035bef50c68a6e948e93abf.tar.xz
linux-99d2b938672944831035bef50c68a6e948e93abf.zip
Documentation: DMA-API: fix a function name of max_mapping_size
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>
Diffstat (limited to 'Documentation/DMA-API.txt')
-rw-r--r--Documentation/DMA-API.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt
index 0076150fdccb..e47c63bd4887 100644
--- a/Documentation/DMA-API.txt
+++ b/Documentation/DMA-API.txt
@@ -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