From a932aee7a8f1e13a1885823c808dcc7b72e761ae Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 29 Nov 2017 10:56:26 -0800 Subject: intel/isl: Declare private array as static const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's array isl_drm.c:modifier_info[] . Reviewed-by: Kenneth Graunke Reviewed-by: Jason Ekstrand Reviewed-by: Tapani Pälli --- src/intel/isl/isl_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel') diff --git a/src/intel/isl/isl_drm.c b/src/intel/isl/isl_drm.c index eb3c6f59138..31895e15e16 100644 --- a/src/intel/isl/isl_drm.c +++ b/src/intel/isl/isl_drm.c @@ -71,7 +71,7 @@ isl_tiling_from_i915_tiling(uint32_t tiling) unreachable("Invalid i915 tiling"); } -struct isl_drm_modifier_info modifier_info[] = { +static const struct isl_drm_modifier_info modifier_info[] = { { .modifier = DRM_FORMAT_MOD_NONE, .name = "DRM_FORMAT_MOD_NONE", -- cgit v1.2.3