Em Mon, 16 Apr 2018 15:21:19 +0200 Hans Verkuil <hverkuil@xxxxxxxxx> escreveu: > From: Hans Verkuil <hans.verkuil@xxxxxxxxx> > > Document the new struct media_v2_pad 'index' field. > > Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> > --- > Documentation/media/uapi/mediactl/media-ioc-g-topology.rst | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst b/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst > index c4055ddf070a..459818c3490c 100644 > --- a/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst > +++ b/Documentation/media/uapi/mediactl/media-ioc-g-topology.rst > @@ -334,7 +334,17 @@ desired arrays with the media graph elements. > > - __u32 > > - - ``reserved``\ [5] > + - ``index`` > + > + - 0-based pad index. Only valid if ``MEDIA_V2_PAD_HAS_INDEX(media_version)`` > + returns true. The ``media_version`` is defined in struct > + :c:type:`media_device_info`. > + > + - .. row 5 Same comment as before: let's have just one patch removing those script-generated comments from the doc files we touch. > + > + - __u32 > + > + - ``reserved``\ [4] > > - Reserved for future extensions. Drivers and applications must set > this array to zero. Thanks, Mauro