mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
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>
This commit is contained in:
parent
f8c168fa45
commit
e8dfcf7895
@ -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);
|
||||
}
|
||||
|
||||
static const char *pipe_crc_sources[] = {
|
||||
static const char * const pipe_crc_sources[] = {
|
||||
"none",
|
||||
"plane1",
|
||||
"plane2",
|
||||
@ -2054,7 +2054,7 @@ enum intel_pipe_crc_object {
|
||||
PIPE_CRC_OBJECT_PIPE,
|
||||
};
|
||||
|
||||
static const char *pipe_crc_objects[] = {
|
||||
static const char * const pipe_crc_objects[] = {
|
||||
"pipe",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user