summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/control.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-12 15:15:23 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-12 15:15:23 -0300
commit4855307b81f02af4853e02cba2ce16eb29376548 (patch)
tree18d04bc585e5c0370a2b5cf5bf628eb220b534b0 /Documentation/media/uapi/v4l/control.rst
parent53ae925160327fc6ecd30ef21c6304eb555c5002 (diff)
downloadtalos-obmc-linux-4855307b81f02af4853e02cba2ce16eb29376548.tar.gz
talos-obmc-linux-4855307b81f02af4853e02cba2ce16eb29376548.zip
[media] doc-rst: use the right markup for footnotes
According with ReST spec, footnotes should be like: [#name], and not [name]. So, change them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/control.rst')
-rw-r--r--Documentation/media/uapi/v4l/control.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/media/uapi/v4l/control.rst b/Documentation/media/uapi/v4l/control.rst
index feb55ac14377..10ab53dd3163 100644
--- a/Documentation/media/uapi/v4l/control.rst
+++ b/Documentation/media/uapi/v4l/control.rst
@@ -17,7 +17,7 @@ device.
All controls are accessed using an ID value. V4L2 defines several IDs
for specific purposes. Drivers can also implement their own custom
-controls using ``V4L2_CID_PRIVATE_BASE`` [1]_ and higher values. The
+controls using ``V4L2_CID_PRIVATE_BASE`` [#f1]_ and higher values. The
pre-defined control IDs have the prefix ``V4L2_CID_``, and are listed in
:ref:`control-id`. The ID is used when querying the attributes of a
control, and when getting or setting the current value.
@@ -522,7 +522,7 @@ Example: Changing controls
/* Errors ignored */
ioctl(fd, VIDIOC_S_CTRL, &control);
-.. [1]
+.. [#f1]
The use of ``V4L2_CID_PRIVATE_BASE`` is problematic because different
drivers may use the same ``V4L2_CID_PRIVATE_BASE`` ID for different
controls. This makes it hard to programatically set such controls
OpenPOWER on IntegriCloud