OSDN Git Service

drm/amd/display: Adjust functions documentation
authorMagali Lemes <magalilemes00@gmail.com>
Thu, 24 Feb 2022 19:15:48 +0000 (16:15 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Feb 2022 22:26:09 +0000 (17:26 -0500)
commit8054e2f01c2cd287a3872baa02e30ea836ec8070
tree930fe752a805cb3551baa0a0c111a456546525e0
parentce075e75e5e3b1274735118f0a417e79d68f426a
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 <harry.wentland@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Magali Lemes <magalilemes00@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c