aboutsummaryrefslogtreecommitdiffstats
path: root/include/video/videomode.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-03-12 10:31:29 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-03-12 15:46:52 +0200
commit32ed6ef133f95f960d19e3f3b30246aebf8ecd36 (patch)
treefb4b491c6e8cb45a216839ab8816f418a6cb10c3 /include/video/videomode.h
parent06a3307975aac2d5b5a0e0f2e05d23e769f176b4 (diff)
videomode: create enum for videomode's display flags
Instead of having plain defines for the videomode's flags, add an enum for the flags. This makes the flags clearer to use, as the enum tells which values can be used with the flags field. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/video/videomode.h b/include/video/videomode.h
index f4ae6edfeb08..8b12e60b6173 100644
--- a/include/video/videomode.h
+++ b/include/video/videomode.h
@@ -29,7 +29,7 @@ struct videomode {
u32 vback_porch;
u32 vsync_len;
- unsigned int flags; /* display flags */
+ enum display_flags flags; /* display flags */
};
/**

Privacy Policy