summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/dev-osd.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-10 08:22:19 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-10 08:31:24 -0300
commit282f02cb863594d9f39b7b89a92eeb7fc989a883 (patch)
tree30287f366a774c53ca4e500234fa9f5ea260ac10 /Documentation/media/uapi/v4l/dev-osd.rst
parent303393393d9ae4a4b95765378c9686e08fda90ae (diff)
downloadop-kernel-dev-282f02cb863594d9f39b7b89a92eeb7fc989a883.zip
op-kernel-dev-282f02cb863594d9f39b7b89a92eeb7fc989a883.tar.gz
[media] doc-rst: Don't use captions for examples
Unfortunately, captions are new on Sphinx for c blocks: it was added only on version 1.3. Also, it were already bad enough not being able to auto-numerate them. So, let's give up and use, instead, titles before the examples. Not much is lost, and, as a side track, we don't need to numerate them anymore. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/dev-osd.rst')
-rw-r--r--Documentation/media/uapi/v4l/dev-osd.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/media/uapi/v4l/dev-osd.rst b/Documentation/media/uapi/v4l/dev-osd.rst
index b9b53fd..98570ce 100644
--- a/Documentation/media/uapi/v4l/dev-osd.rst
+++ b/Documentation/media/uapi/v4l/dev-osd.rst
@@ -50,9 +50,10 @@ standard. A V4L2 driver may reject attempts to change the video standard
(or any other ioctl which would imply a framebuffer size change) with an
``EBUSY`` error code until all applications closed the framebuffer device.
+Example: Finding a framebuffer device for OSD
+---------------------------------------------
.. code-block:: c
- :caption: Example 4.1. Finding a framebuffer device for OSD
#include <linux/fb.h>
OpenPOWER on IntegriCloud