From: Mauro Carvalho Chehab Date: Sat, 2 Jul 2016 12:17:08 +0000 (-0300) Subject: doc-rst: extended-controls: use reference for VIDIOC_S_CTRL X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=22c1cd2d79045663b04459cbdd42212f16efc895;p=linux-beck.git doc-rst: extended-controls: use reference for VIDIOC_S_CTRL Instead of using a constant, use references, just like the other references for ioctl's. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/linux_tv/media/v4l/extended-controls.rst b/Documentation/linux_tv/media/v4l/extended-controls.rst index 38b85d7b1022..d5efb5bbf5bf 100644 --- a/Documentation/linux_tv/media/v4l/extended-controls.rst +++ b/Documentation/linux_tv/media/v4l/extended-controls.rst @@ -54,9 +54,9 @@ contains a pointer to the control array, a count of the number of controls in that array and a control class. Control classes are used to group similar controls into a single class. For example, control class ``V4L2_CTRL_CLASS_USER`` contains all user controls (i. e. all controls -that can also be set using the old ``VIDIOC_S_CTRL`` ioctl). Control -class ``V4L2_CTRL_CLASS_MPEG`` contains all controls relating to MPEG -encoding, etc. +that can also be set using the old :ref:`VIDIOC_S_CTRL ` +ioctl). Control class ``V4L2_CTRL_CLASS_MPEG`` contains all controls +relating to MPEG encoding, etc. All controls in the control array must belong to the specified control class. An error is returned if this is not the case.