From: Alex Deucher Date: Wed, 6 Jul 2022 14:04:15 +0000 (-0400) Subject: drm/amd/display: make get_refresh_rate() static X-Git-Tag: v6.0-rc1~138^2~7^2~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30ef0808e61850ec9dd105fe0a21f7f9a7c69324;p=thirdparty%2Flinux.git drm/amd/display: make get_refresh_rate() static It's not used outside of dcn30_resource.c. Reported-by: kernel test robot Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c index 4f684235a413d..7f01463942fb0 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c @@ -1899,7 +1899,7 @@ validate_out: return out; } -int get_refresh_rate(struct dc_state *context) +static int get_refresh_rate(struct dc_state *context) { int refresh_rate = 0; int h_v_total = 0;