summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_edid.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-09-23 23:30:45 +0200
committerDave Airlie <airlied@redhat.com>2009-09-24 01:46:03 +0200
commit083ae0560ab53b039aaa897b77458cbadf19050d (patch)
tree57bf4e3f71d994e65d66acfd60c40ad70539426e /drivers/gpu/drm/drm_edid.c
parentdrm/radeon/r600: set correct pitch for 4 byte copy (diff)
downloadlinux-083ae0560ab53b039aaa897b77458cbadf19050d.tar.xz
linux-083ae0560ab53b039aaa897b77458cbadf19050d.zip
drm/edid: const cleanup
Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r--drivers/gpu/drm/drm_edid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 90d76bacff17..3326987a988b 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -109,7 +109,9 @@ static struct edid_quirk {
/* Valid EDID header has these bytes */
-static u8 edid_header[] = { 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00 };
+static const u8 edid_header[] = {
+ 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00
+};
/**
* edid_is_valid - sanity check EDID data