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>
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",
PIPE_CRC_OBJECT_PIPE,
};
-static const char *pipe_crc_objects[] = {
+static const char * const pipe_crc_objects[] = {
"pipe",
};