Commit 99d2b938 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Jonathan Corbet

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: 133d624b ("dma: Introduce dma_max_mapping_size()")
Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 58d49466
...@@ -198,7 +198,7 @@ call to set the mask to the value returned. ...@@ -198,7 +198,7 @@ call to set the mask to the value returned.
:: ::
size_t 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 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 of the mapping functions like dma_map_single(), dma_map_page() and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment