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 1ed17fa..976bd2c 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 */