projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96206e2
)
drm: Constify generic_edid_names[]
author
Ville Syrjälä
<ville.syrjala@linux.intel.com>
Mon, 31 Aug 2015 12:09:25 +0000
(15:09 +0300)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 8 Sep 2015 11:45:52 +0000
(13:45 +0200)
Make generic_edid_names[] const since it's supposed to be immutable.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_edid_load.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_edid_load.c
b/drivers/gpu/drm/drm_edid_load.c
index
1f445e9
..
698b8c3
100644
(file)
--- a/
drivers/gpu/drm/drm_edid_load.c
+++ b/
drivers/gpu/drm/drm_edid_load.c
@@
-32,7
+32,7
@@
MODULE_PARM_DESC(edid_firmware, "Do not probe monitor, use specified EDID blob "
"from built-in data or /lib/firmware instead. ");
#define GENERIC_EDIDS 6
-static const char *generic_edid_name[GENERIC_EDIDS] = {
+static const char *
const
generic_edid_name[GENERIC_EDIDS] = {
"edid/800x600.bin",
"edid/1024x768.bin",
"edid/1280x1024.bin",