summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorDarren Etheridge <detheridge@ti.com>2013-08-05 17:02:30 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-08-09 14:02:42 +0300
commit26e7164537380479bf96e852df6ab42ebe50e836 (patch)
treecc98c642369a8e875c6ac22cda9c3681dccaabd0 /include/video
parentfe8c98f06b5eec94d318cd4761e7673fb5e3c662 (diff)
video: da8xx-fb: improve readability of code
Change the lcd_disable_raster funtion from using a bool to an enum as the function is very confusing with the current api. This helps make it clearer what the parameter is really doing. Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/da8xx-fb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/video/da8xx-fb.h b/include/video/da8xx-fb.h
index f88825928dd1..efed3c3383d6 100644
--- a/include/video/da8xx-fb.h
+++ b/include/video/da8xx-fb.h
@@ -23,6 +23,11 @@ enum raster_load_mode {
LOAD_PALETTE,
};
+enum da8xx_frame_complete {
+ DA8XX_FRAME_WAIT,
+ DA8XX_FRAME_NOWAIT,
+};
+
struct da8xx_lcdc_platform_data {
const char manu_name[10];
void *controller_data;