Skip to contentSkip to conversation

media: docs: libv4l-introduction.rst: Fix function signature and link

PATCH New Daniel Lundberg Pedersen 1 participant 1 message Aug 31, 2022 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: docs: libv4l-introduction.rst: Fix function signature and link

v4l2_mmap returns a void*, also link to mmap instead of munmap

---
 Documentation/userspace-api/media/v4l/libv4l-introduction.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/userspace-api/media/v4l/libv4l-introduction.rst +2 -2
index 90215313b965..7c8bf160e1c6 100644
@@ -136,9 +136,9 @@ V4L2 functions
 
    operates like the :c:func:`read()` function.
 
-.. c:function:: void v4l2_mmap(void *start, size_t length, int prot, int flags, int fd, int64_t offset);
+.. c:function:: void *v4l2_mmap(void *start, size_t length, int prot, int flags, int fd, int64_t offset);
 
-   operates like the :c:func:`munmap()` function.
+   operates like the :c:func:`mmap()` function.
 
 .. c:function:: int v4l2_munmap(void *_start, size_t length);
 
Signature · 1 line
2.36.2