summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-08-07 09:22:33 +0200
committerAnatolij Gustschin <agust@denx.de>2013-08-12 23:32:20 +0200
commit1dc793dd2b8fb97dddf437547d86bd5bcfdb8b29 (patch)
tree4a0fec3c5cc1c24fdb70af44e9c02cdba9a4273d
parent9c17a32591eeb855305a24f200dbe441c82d0326 (diff)
downloadu-boot-1dc793dd2b8fb97dddf437547d86bd5bcfdb8b29.tar.gz
edid: rename struct member to fix two EDID_* macros
Without this change EDID_DETAILED_TIMING_VSYNC_OFFSET and EDID_DETAILED_TIMING_VSYNC_PULSE_WIDTH macros can not be used (compile error). The fix is quite trivial: rename struct member to the expected name. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
-rw-r--r--include/edid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/edid.h b/include/edid.h
index f153091f64..480a773d0f 100644
--- a/include/edid.h
+++ b/include/edid.h
@@ -54,7 +54,7 @@ struct edid_detailed_timing {
(_x).vertical_blanking)
unsigned char hsync_offset;
unsigned char hsync_pulse_width;
- unsigned char sync_offset_pulse_width;
+ unsigned char vsync_offset_pulse_width;
unsigned char hsync_vsync_offset_pulse_width_hi;
#define EDID_DETAILED_TIMING_HSYNC_OFFSET(_x) \
((GET_BITS((_x).hsync_vsync_offset_pulse_width_hi, 7, 6) << 8) + \