Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Provide function name for 'optc32_enable_crtc()'

Fixes the following W=1 kernel build warning(s):

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_optc.c:109: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Enable CRTC

Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Srinivasan Shanmugam and committed by
Alex Deucher
9379c7a8 8b42e93b

+5 -2
+5 -2
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c
··· 106 106 OTG_H_TIMING_DIV_MODE_MANUAL, manual_mode ? 1 : 0); 107 107 } 108 108 /** 109 - * Enable CRTC 110 - * Enable CRTC - call ASIC Control Object to enable Timing generator. 109 + * optc32_enable_crtc() - Enable CRTC - call ASIC Control Object to enable Timing generator. 110 + * 111 + * @optc: timing_generator instance. 112 + * 113 + * Return: If CRTC is enabled, return true. 111 114 */ 112 115 static bool optc32_enable_crtc(struct timing_generator *optc) 113 116 {