From: Chad Versace Date: Wed, 29 Nov 2017 18:56:26 +0000 (-0800) Subject: intel/isl: Declare private array as static const X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a932aee7a8f1e13a1885823c808dcc7b72e761ae;p=mesa.git intel/isl: Declare private array as static const It's array isl_drm.c:modifier_info[] . Reviewed-by: Kenneth Graunke Reviewed-by: Jason Ekstrand Reviewed-by: Tapani Pälli --- 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",