diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 008f137dff808b932da9d6fc3b49c8c36fffebe6..c8235b041b5b857c83af9889529f6af3c9e79850 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -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,