mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: ddc: replace NEXT_DT_MD_SECTION() macro
trivial enough to be replaced easily. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
d0c2641715
commit
2fe8f72029
@@ -286,7 +286,6 @@
|
||||
#define ADD_DUMMY 0x10
|
||||
|
||||
#define _NEXT_DT_MD_SECTION(x) (x = (x + DET_TIMING_INFO_LEN))
|
||||
#define NEXT_DT_MD_SECTION _NEXT_DT_MD_SECTION(c)
|
||||
|
||||
#endif /* _PARSE_EDID_ */
|
||||
|
||||
|
||||
@@ -640,7 +640,7 @@ get_dt_md_section(uint8_t * c, struct edid_version *ver,
|
||||
|
||||
for (i = 0; i < DET_TIMINGS; i++) {
|
||||
fetch_detailed_block(c, ver, det_mon + i);
|
||||
NEXT_DT_MD_SECTION;
|
||||
_NEXT_DT_MD_SECTION(c);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user