summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/vidioc-queryctrl.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 08:43:30 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 08:43:30 -0300
commit8968da9b8622f2da9b7f0a695acbe341ea28f55e (patch)
tree8ea0037207dd445a512abc4d72d90a8b29255da5 /Documentation/media/uapi/v4l/vidioc-queryctrl.rst
parentd2cd627be0f889ef7718eac98f68a822ad235f0a (diff)
Revert "[media] docs-rst: escape [] characters"
This patch touches on places where it shouldn't: image files and code examples. Also, it doesn't fix all array occurrences. So, let's revert it. This reverts commit ffbab694ede33c294e5864a5e0bf4d1474446a71.
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-queryctrl.rst')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-queryctrl.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-queryctrl.rst b/Documentation/media/uapi/v4l/vidioc-queryctrl.rst
index 72bc7b1b067c..8d6e61a7284d 100644
--- a/Documentation/media/uapi/v4l/vidioc-queryctrl.rst
+++ b/Documentation/media/uapi/v4l/vidioc-queryctrl.rst
@@ -124,7 +124,7 @@ See also the examples in :ref:`control`.
- __u8
- - ``name``\ \[32\]
+ - ``name``\ [32]
- Name of the control, a NUL-terminated ASCII string. This
information is intended for the user.
@@ -203,7 +203,7 @@ See also the examples in :ref:`control`.
- __u32
- - ``reserved``\ \[2\]
+ - ``reserved``\ [2]
- Reserved for future extensions. Drivers must set the array to
zero.
@@ -245,7 +245,7 @@ See also the examples in :ref:`control`.
- char
- - ``name``\ \[32\]
+ - ``name``\ [32]
- Name of the control, a NUL-terminated ASCII string. This
information is intended for the user.
@@ -326,7 +326,7 @@ See also the examples in :ref:`control`.
- The size in bytes of a single element of the array. Given a char
pointer ``p`` to a 3-dimensional array you can find the position
of cell ``(z, y, x)`` as follows:
- ``p + ((z * dims\[1\] + y) * dims\[0\] + x) * elem_size``.
+ ``p + ((z * dims[1] + y) * dims[0] + x) * elem_size``.
``elem_size`` is always valid, also when the control isn't an
array. For string controls ``elem_size`` is equal to
``maximum + 1``.
@@ -363,7 +363,7 @@ See also the examples in :ref:`control`.
- __u32
- - ``reserved``\ \[32\]
+ - ``reserved``\ [32]
- Reserved for future extensions. Applications and drivers must set
the array to zero.
@@ -410,7 +410,7 @@ See also the examples in :ref:`control`.
-
- __u8
- - ``name``\ \[32\]
+ - ``name``\ [32]
- Name of the menu item, a NUL-terminated ASCII string. This
information is intended for the user. This field is valid for