]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
amdgpu/dc: static constify update_surface_trace_level
authorDave Airlie <airlied@redhat.com>
Fri, 29 Sep 2017 00:23:15 +0000 (10:23 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Sep 2017 17:00:49 +0000 (13:00 -0400)
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 008f137dff808b932da9d6fc3b49c8c36fffebe6..c8235b041b5b857c83af9889529f6af3c9e79850 100644 (file)
@@ -1172,7 +1172,7 @@ static struct dc_stream_status *stream_get_status(
        return NULL;
 }
 
-enum surface_update_type update_surface_trace_level = UPDATE_TYPE_FULL;
+static const enum surface_update_type update_surface_trace_level = UPDATE_TYPE_FULL;
 
 void dc_update_planes_and_stream(struct dc *dc,
                struct dc_surface_update *srf_updates, int surface_count,