videomode: create enum for videomode's display flags
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 12 Mar 2013 08:31:29 +0000 (10:31 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 12 Mar 2013 13:46:52 +0000 (15:46 +0200)
commit32ed6ef133f95f960d19e3f3b30246aebf8ecd36
treefb4b491c6e8cb45a216839ab8816f418a6cb10c3
parent06a3307975aac2d5b5a0e0f2e05d23e769f176b4
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>
include/video/display_timing.h
include/video/videomode.h