Skip to content
Snippets Groups Projects
Commit 1dc793dd authored by Christian Gmeienr's avatar Christian Gmeienr Committed by Anatolij Gustschin
Browse files

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: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
parent 9c17a325
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ struct edid_detailed_timing { ...@@ -54,7 +54,7 @@ struct edid_detailed_timing {
(_x).vertical_blanking) (_x).vertical_blanking)
unsigned char hsync_offset; unsigned char hsync_offset;
unsigned char hsync_pulse_width; 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; unsigned char hsync_vsync_offset_pulse_width_hi;
#define EDID_DETAILED_TIMING_HSYNC_OFFSET(_x) \ #define EDID_DETAILED_TIMING_HSYNC_OFFSET(_x) \
((GET_BITS((_x).hsync_vsync_offset_pulse_width_hi, 7, 6) << 8) + \ ((GET_BITS((_x).hsync_vsync_offset_pulse_width_hi, 7, 6) << 8) + \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment