aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-11-29 10:56:26 -0800
committerChad Versace <[email protected]>2017-12-04 10:16:33 -0800
commita932aee7a8f1e13a1885823c808dcc7b72e761ae (patch)
tree1a5fcea16d907bcac0a331c2e22e88d6449969cf
parent2be2565b9e8b86bd7c65d94287cd03ced6e93bcd (diff)
intel/isl: Declare private array as static const
It's array isl_drm.c:modifier_info[] . Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
-rw-r--r--src/intel/isl/isl_drm.c2
1 files changed, 1 insertions, 1 deletions
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",