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: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index d1674b6..5fce5d8 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1909,7 +1909,7 @@
return drm_add_fake_info_node(minor, ent, info);
}
-static const char *pipe_crc_sources[] = {
+static const char * const pipe_crc_sources[] = {
"none",
"plane1",
"plane2",
@@ -2054,7 +2054,7 @@
PIPE_CRC_OBJECT_PIPE,
};
-static const char *pipe_crc_objects[] = {
+static const char * const pipe_crc_objects[] = {
"pipe",
};