Skip to content

Commit f69249f

Browse files
committed
media: hist-v4l2.rst: remove struct duplication
There are several places there where struct was used twice, on multiple lines, like: struct struct ``v4l2_zoomcap`` That's probably done during the DocBook to ReSt conversion. Probably the cases where "struct struct" were at the same line was addressed back then, but the multi-line cases are still there. Get rid of them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent 8162a0b commit f69249f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎Documentation/userspace-api/media/v4l/hist-v4l2.rst‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -582,11 +582,10 @@ This unnamed version was finally merged into Linux 2.5.46.
582582
above. A ``field`` field of type :c:type:`v4l2_field` was added to
583583
distinguish between field and frame (interlaced) overlay.
584584

585-
17. The digital zoom interface, including struct
586-
struct ``v4l2_zoomcap``, struct
585+
17. The digital zoom interface, including struct ``v4l2_zoomcap``,
587586
struct ``v4l2_zoom``, ``V4L2_ZOOM_NONCAP`` and
588587
``V4L2_ZOOM_WHILESTREAMING`` was replaced by a new cropping and
589-
scaling interface. The previously unused struct
588+
scaling interface. The previously unused
590589
struct :c:type:`v4l2_cropcap` and struct :c:type:`v4l2_crop`
591590
where redefined for this purpose. See :ref:`crop` for details.
592591

@@ -811,7 +810,7 @@ V4L2 spec erratum 2006-02-04
811810

812811
1. The ``clips`` field in struct :c:type:`v4l2_window`
813812
must point to an array of struct :c:type:`v4l2_clip`, not
814-
a linked list, because drivers ignore the struct
813+
a linked list, because drivers ignore the
815814
struct :c:type:`v4l2_clip`. ``next`` pointer.
816815

817816

@@ -926,7 +925,7 @@ V4L2 in Linux 2.6.22
926925

927926
A new ``global_alpha`` field was added to
928927
:c:type:`v4l2_window`, extending the structure. This
929-
may *break compatibility* with applications using a struct
928+
may *break compatibility* with applications using a
930929
struct :c:type:`v4l2_window` directly. However the
931930
:ref:`VIDIOC_G/S/TRY_FMT <VIDIOC_G_FMT>` ioctls, which take a
932931
pointer to a :c:type:`v4l2_format` parent structure
@@ -1013,8 +1012,7 @@ V4L2 in Linux 2.6.29
10131012

10141013
1. The ``VIDIOC_G_CHIP_IDENT`` ioctl was renamed to
10151014
``VIDIOC_G_CHIP_IDENT_OLD`` and ``VIDIOC_DBG_G_CHIP_IDENT`` was
1016-
introduced in its place. The old struct
1017-
struct ``v4l2_chip_ident`` was renamed to
1015+
introduced in its place. The old struct ``v4l2_chip_ident`` was renamed to
10181016
struct ``v4l2_chip_ident_old``.
10191017

10201018
2. The pixel formats ``V4L2_PIX_FMT_VYUY``, ``V4L2_PIX_FMT_NV16`` and

0 commit comments

Comments
 (0)