diff options
author | Chad Versace <chadversary@chromium.org> | 2017-11-29 10:56:26 -0800 |
---|---|---|
committer | Chad Versace <chadversary@chromium.org> | 2017-12-04 10:16:33 -0800 |
commit | a932aee7a8f1e13a1885823c808dcc7b72e761ae (patch) | |
tree | 1a5fcea16d907bcac0a331c2e22e88d6449969cf /src/intel/isl | |
parent | 2be2565b9e8b86bd7c65d94287cd03ced6e93bcd (diff) |
intel/isl: Declare private array as static const
It's array isl_drm.c:modifier_info[] .
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'src/intel/isl')
-rw-r--r-- | src/intel/isl/isl_drm.c | 2 |
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", |