]> git.karo-electronics.de Git - linux-beck.git/commitdiff
doc-rst: mmap: re-add the missing captions
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 4 Jul 2016 18:47:55 +0000 (15:47 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 4 Jul 2016 18:47:55 +0000 (15:47 -0300)
The conversion from DocBook removed them. Re-add.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/linux_tv/media/v4l/mmap.rst

index 1ed17fa3368a59cd0690ad6f1d194476f06f1b8c..976bd2cf247be99a4948885353ef70f1e9131c36 100644 (file)
@@ -54,6 +54,7 @@ possible with the :ref:`munmap() <func-munmap>` function.
 
 
 .. code-block:: c
+    :caption: Example 3.1. Mapping buffers in the single-planar API
 
     struct v4l2_requestbuffers reqbuf;
     struct {
@@ -122,6 +123,7 @@ possible with the :ref:`munmap() <func-munmap>` function.
 
 
 .. code-block:: c
+    :caption: Example 3.2. Mapping buffers in the multi-planar API
 
     struct v4l2_requestbuffers reqbuf;
     /* Our current format uses 3 planes per buffer */