docs: media: v4l: uapi: Fix field type for SUBDEV_ENUM_FRAME_SIZE
Commit Message
The documentation for the VIDIOC_SUBDEV_ENUM_FRAME_SIZE ioctl
incorrectly refers to struct v4l2_subdev_mbus_code_enum as the
parameter. Fix this.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
---
.../userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -39,7 +39,7 @@ ioctl.
To enumerate frame sizes applications initialize the ``pad``, ``which``
, ``code`` and ``index`` fields of the struct
-:c:type:`v4l2_subdev_mbus_code_enum` and
+:c:type:`v4l2_subdev_frame_size_enum` and
call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_SIZE` ioctl with a pointer to the
structure. Drivers fill the minimum and maximum frame sizes or return an
EINVAL error code if one of the input parameters is invalid.