From: Magali Lemes Date: Thu, 24 Feb 2022 19:15:48 +0000 (-0300) Subject: drm/amd/display: Adjust functions documentation X-Git-Tag: v5.18-rc1~134^2~11^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8054e2f01c2cd287a3872baa02e30ea836ec8070;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Adjust functions documentation Part of the documentation of the 'dc_process_dmub_aux_transfer_async' function was misplaced, being put together with the ‘dc_enable_dmub_notifications’ documentation. This caused the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3757: warning: expecting prototype for dc_process_dmub_aux_transfer_async(). Prototype was for dc_enable_dmub_notifications() instead This commit fixes the warning by placing the function documentations in their right place. Reviewed-by: Harry Wentland Reported-by: kernel test robot Signed-off-by: Magali Lemes Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index b1ce3c0cf4779..61e3bb99375fa 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -3737,8 +3737,8 @@ bool dc_is_dmub_outbox_supported(struct dc *dc) return dc->debug.enable_dmub_aux_for_legacy_ddc; } -/** - * dc_process_dmub_aux_transfer_async - Submits aux command to dmub via inbox message +/* + ***************************************************************************** * Function: dc_enable_dmub_notifications * * @brief @@ -3780,7 +3780,7 @@ void dc_enable_dmub_outbox(struct dc *dc) } /** - ***************************************************************************** + * dc_process_dmub_aux_transfer_async - Submits aux command to dmub via inbox message * Sets port index appropriately for legacy DDC * @dc: dc structure * @link_index: link index