drm: Constify generic_edid_names[]
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>
This commit is contained in:
Родитель
96206e2922
Коммит
a5b6237461
|
@ -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. ");
|
"from built-in data or /lib/firmware instead. ");
|
||||||
|
|
||||||
#define GENERIC_EDIDS 6
|
#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/800x600.bin",
|
||||||
"edid/1024x768.bin",
|
"edid/1024x768.bin",
|
||||||
"edid/1280x1024.bin",
|
"edid/1280x1024.bin",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче