From: Ville Syrjälä Date: Mon, 31 Aug 2015 12:09:25 +0000 (+0300) Subject: drm: Constify generic_edid_names[] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5b62374618f629f5d9d6d86f3bef9b552fc980b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm: Constify generic_edid_names[] Make generic_edid_names[] const since it's supposed to be immutable. Signed-off-by: Ville Syrjälä Reviewed-by: Alex Deucher Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/drm_edid_load.c b/drivers/gpu/drm/drm_edid_load.c index 1f445e9bd768..698b8c3b09d9 100644 --- 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",