diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-03-12 04:26:45 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-03-12 09:46:52 -0400 |
commit | 06a3307975aac2d5b5a0e0f2e05d23e769f176b4 (patch) | |
tree | b4cc6d14e14523c2380c254d6ac102ec9d4d9647 /include/video/videomode.h | |
parent | a38884f681a4d044befd30d9f3d19a0821bae63a (diff) |
videomode: combine videomode dmt_flags and data_flags
Both videomode and display_timing contain flags describing the modes.
These are stored in dmt_flags and data_flags. There's no need to
separate these flags, and having separate fields just makes the flags
more difficult to use.
This patch combines the fields and renames VESA_DMT_* flags to
DISPLAY_FLAGS_*.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Diffstat (limited to 'include/video/videomode.h')
-rw-r--r-- | include/video/videomode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/video/videomode.h b/include/video/videomode.h index a42156234dd4..f4ae6edfeb08 100644 --- a/include/video/videomode.h +++ b/include/video/videomode.h | |||
@@ -29,8 +29,7 @@ struct videomode { | |||
29 | u32 vback_porch; | 29 | u32 vback_porch; |
30 | u32 vsync_len; | 30 | u32 vsync_len; |
31 | 31 | ||
32 | unsigned int dmt_flags; /* VESA DMT flags */ | 32 | unsigned int flags; /* display flags */ |
33 | unsigned int data_flags; /* video data flags */ | ||
34 | }; | 33 | }; |
35 | 34 | ||
36 | /** | 35 | /** |