diff mbox series

docs: media: v4l: uapi: Fix field type for SUBDEV_ENUM_FRAME_SIZE

Message ID 20230213105628.1275084-1-paul.elder@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series docs: media: v4l: uapi: Fix field type for SUBDEV_ENUM_FRAME_SIZE | expand

Commit Message

Paul Elder Feb. 13, 2023, 10:56 a.m. UTC
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(-)
diff mbox series

Patch

diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst
index c25a9896df0e..e07d48319683 100644
--- a/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst
+++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst
@@ -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.