Răsfoiți Sursa

drm/edid: const cleanup

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Adam Jackson 15 ani în urmă
părinte
comite
083ae0560a
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      drivers/gpu/drm/drm_edid.c

+ 3 - 1
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