drm/amd/display: make get_refresh_rate() static
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Jul 2022 14:04:15 +0000 (10:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2022 19:55:29 +0000 (15:55 -0400)
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>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c

index 4f68423..7f01463 100644 (file)
@@ -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;