drm/amd/display: make get_refresh_rate() static

It's not used outside of dcn30_resource.c.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher 2022-07-06 10:04:15 -04:00
parent b83c9e3dd5
commit 30ef0808e6

View File

@ -1899,7 +1899,7 @@ noinline bool dcn30_internal_validate_bw(
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;