drm/fourcc: Fix the parameters name in the documentation

We introduced new functions in the commit bf39607c16 ("drm/fourcc: Pass
the format_info pointer to drm_format_plane_width/height") based on
previous ones but with a slightly different prototype. However, the
documentation wasn't changed to reflect that change.

Fixes: bf39607c16 ("drm/fourcc: Pass the format_info pointer to drm_format_plane_width/height")
Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190521110906.15268-1-maxime.ripard@bootlin.com
This commit is contained in:
Maxime Ripard 2019-05-21 13:09:06 +02:00
parent 201713b6bb
commit 7793a10896
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5
1 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ drm_format_info_is_yuv_sampling_444(const struct drm_format_info *info)
/**
* drm_format_info_plane_width - width of the plane given the first plane
* @format: pixel format info
* @info: pixel format info
* @width: width of the first plane
* @plane: plane index
*
@ -284,7 +284,7 @@ int drm_format_info_plane_width(const struct drm_format_info *info, int width,
/**
* drm_format_info_plane_height - height of the plane given the first plane
* @format: pixel format info
* @info: pixel format info
* @height: height of the first plane
* @plane: plane index
*