summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 09:11:12 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 10:56:21 -0300
commit6710ea47fd8bcd8d5d931d8d296c444162bb6d36 (patch)
tree2d637d4ab9532155e49d9c62b02054dfff617c67 /Documentation
parent8968da9b8622f2da9b7f0a695acbe341ea28f55e (diff)
downloadlinux-stable-6710ea47fd8bcd8d5d931d8d296c444162bb6d36.tar.gz
linux-stable-6710ea47fd8bcd8d5d931d8d296c444162bb6d36.tar.bz2
linux-stable-6710ea47fd8bcd8d5d931d8d296c444162bb6d36.zip
[media] doc-rst: fix htmldocs build warnings
Fix those warnings: Documentation/output/videodev2.h.rst:6: WARNING: undefined label: vidioc_unsubscribe_event (if the link has no caption the label must precede a section header) Documentation/media/uapi/v4l/dev-overlay.rst:248: WARNING: Title underline too short. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/media/uapi/v4l/dev-overlay.rst2
-rw-r--r--Documentation/media/uapi/v4l/vidioc-subscribe-event.rst5
-rw-r--r--Documentation/media/videodev2.h.rst.exceptions1
3 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/media/uapi/v4l/dev-overlay.rst b/Documentation/media/uapi/v4l/dev-overlay.rst
index 3edb53bfaa27..92b4471b0c6e 100644
--- a/Documentation/media/uapi/v4l/dev-overlay.rst
+++ b/Documentation/media/uapi/v4l/dev-overlay.rst
@@ -245,7 +245,7 @@ exceeded are undefined. [#f3]_
.. _v4l2-clip:
struct v4l2_clip [#f4]_
----------------------
+-----------------------
``struct v4l2_rect c``
Coordinates of the clipping rectangle, relative to the top, left
diff --git a/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst b/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
index 3ed91c627702..3f28e8c47960 100644
--- a/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
+++ b/Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
@@ -1,6 +1,7 @@
.. -*- coding: utf-8; mode: rst -*-
.. _VIDIOC_SUBSCRIBE_EVENT:
+.. _VIDIOC_UNSUBSCRIBE_EVENT:
******************************************************
ioctl VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT
@@ -54,8 +55,8 @@ using the :ref:`VIDIOC_DQEVENT` ioctl.
- Type of the event, see :ref:`event-type`.
.. note:: ``V4L2_EVENT_ALL`` can be used with
- :ref:`VIDIOC_UNSUBSCRIBE_EVENT` for unsubscribing all events
- at once.
+ :ref:`VIDIOC_UNSUBSCRIBE_EVENT <VIDIOC_SUBSCRIBE_EVENT>` for
+ unsubscribing all events at once.
- .. row 2
diff --git a/Documentation/media/videodev2.h.rst.exceptions b/Documentation/media/videodev2.h.rst.exceptions
index 46eae619a0a5..9bb9a6cc39d8 100644
--- a/Documentation/media/videodev2.h.rst.exceptions
+++ b/Documentation/media/videodev2.h.rst.exceptions
@@ -531,6 +531,5 @@ replace ioctl VIDIOC_TRY_ENCODER_CMD vidioc_encoder_cmd
replace ioctl VIDIOC_TRY_EXT_CTRLS vidioc_g_ext_ctrls
replace ioctl VIDIOC_TRY_FMT vidioc_g_fmt
replace ioctl VIDIOC_STREAMOFF vidioc_streamon
-replace ioctl VIDIOC_UNSUBSCRIBE_EVENT vidioc_subscribe_event
replace ioctl VIDIOC_QUERY_EXT_CTRL vidioc_queryctrl
replace ioctl VIDIOC_QUERYMENU vidioc_queryctrl