From b8a1d69ccb5e0ffc2771b3a7a6ec9d948d10ee9d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 29 Sep 2017 10:23:15 +1000 Subject: [PATCH] amdgpu/dc: static constify update_surface_trace_level Signed-off-by: Dave Airlie Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 008f137..c8235b0 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, -- 2.7.4