Commit e8dfcf78 authored by Daniel Vetter's avatar Daniel Vetter

drm/i915: constify harder

We not only want const strings, but a const array of them. Reported by
checkpatch.pl

Cc: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f8c168fa
...@@ -1909,7 +1909,7 @@ static int i915_pipe_crc_create(struct dentry *root, struct drm_minor *minor, ...@@ -1909,7 +1909,7 @@ static int i915_pipe_crc_create(struct dentry *root, struct drm_minor *minor,
return drm_add_fake_info_node(minor, ent, info); return drm_add_fake_info_node(minor, ent, info);
} }
static const char *pipe_crc_sources[] = { static const char * const pipe_crc_sources[] = {
"none", "none",
"plane1", "plane1",
"plane2", "plane2",
...@@ -2054,7 +2054,7 @@ enum intel_pipe_crc_object { ...@@ -2054,7 +2054,7 @@ enum intel_pipe_crc_object {
PIPE_CRC_OBJECT_PIPE, PIPE_CRC_OBJECT_PIPE,
}; };
static const char *pipe_crc_objects[] = { static const char * const pipe_crc_objects[] = {
"pipe", "pipe",
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment