aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_edid.c
diff options
context:
space:
mode:
authorIan Pilcher <arequipeno@gmail.com>2012-04-22 12:40:26 -0400
committerDave Airlie <airlied@redhat.com>2012-04-27 03:25:13 -0400
commitc51a3fd66c3881b692335a7fe1654b0b08a90a21 (patch)
tree7e2094458f321bc65906755d613fcca713af6fa9 /drivers/gpu/drm/drm_edid.c
parentf89ec8a456dde7f18a13de77b4d79e6b05ca7c84 (diff)
drm: Store vendor IDs directly in the EDID quirk structure
EDID vendor IDs are always 3 characters long (4 with the terminating 0). It doesn't make any sense to have a (possibly 8-byte) pointer to the ID string in the quirk structure. Signed-off-by: Ian Pilcher <arequipeno@gmail.com> Reviewed-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index f425379e5aa0..608bddfc7e35 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -81,7 +81,7 @@ struct detailed_mode_closure {
81#define LEVEL_CVT 3 81#define LEVEL_CVT 3
82 82
83static struct edid_quirk { 83static struct edid_quirk {
84 char *vendor; 84 char vendor[4];
85 int product_id; 85 int product_id;
86 u32 quirks; 86 u32 quirks;
87} edid_quirk_list[] = { 87} edid_quirk_list[] = {