edid.c: fix compilation with gcc 4.8.1
BRANCH=none TEST=compile tested with latest toolchain BUG=none Change-Id: I0be627bdcd9fd17197b2e2286c1bb869f1c02119 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://chromium-review.googlesource.com/170040 Reviewed-by: Ronald Minnich <rminnich@chromium.org>
This commit is contained in:
parent
499a4802b5
commit
bb4a9e8c57
1 changed files with 1 additions and 1 deletions
|
|
@ -1201,7 +1201,7 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
|
|||
printk(BIOS_SPEW, "Standard timings supported:\n");
|
||||
for (i = 0; i < 8; i++) {
|
||||
uint8_t b1 = edid[0x26 + i * 2], b2 = edid[0x26 + i * 2 + 1];
|
||||
unsigned int x, y, refresh;
|
||||
unsigned int x, y = 0, refresh;
|
||||
|
||||
if (b1 == 0x01 && b2 == 0x01)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue