summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-02-10 11:42:38 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-02-24 17:52:44 +0100
commit218fc9f2fcfbad70e7b2111eca591b1dc8e6c8a9 (patch)
treee93987baba2ac953bc08cfa8be1b86f7ca57bfef /Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
parentf86a183cda8798899ffc33031f17afd788b1ec90 (diff)
downloadlinux-stable-218fc9f2fcfbad70e7b2111eca591b1dc8e6c8a9.tar.gz
linux-stable-218fc9f2fcfbad70e7b2111eca591b1dc8e6c8a9.tar.bz2
linux-stable-218fc9f2fcfbad70e7b2111eca591b1dc8e6c8a9.zip
media: Documentation/media/uapi: more readable unions
Avoid adding an extra columns when describing unions in the documentation. That makes it much harder to read. See e.g. VIDIOC_QUERY_EXT_CTRLS. Instead start off a union with 'union {' and end it with an extra row containing '}'. This leaves a lot more space for the description of the fields. This formatting technique was used in a few places already, but this patches fixes all remaining occurrences of 'union' in the media uAPI. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: Nicolas Dufresne <nicolas@ndufresne.ca> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst b/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
index 29e1d4fc4f52..112597c6cad2 100644
--- a/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
+++ b/Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
@@ -100,23 +100,23 @@ instructions.
.. flat-table:: struct v4l2_dbg_match
:header-rows: 0
:stub-columns: 0
- :widths: 1 1 1 2
+ :widths: 1 1 2
* - __u32
- ``type``
- See :ref:`chip-match-types` for a list of possible types.
- * - union
+ * - union {
- (anonymous)
- * -
- - __u32
+ * - __u32
- ``addr``
- Match a chip by this number, interpreted according to the ``type``
field.
- * -
- - char
+ * - char
- ``name[32]``
- Match a chip by this name, interpreted according to the ``type``
field. Currently unused.
+ * - }
+ -