summaryrefslogtreecommitdiffstats
path: root/include/video/da8xx-fb.h
diff options
context:
space:
mode:
authorDarren Etheridge <detheridge@ti.com>2013-08-06 00:02:30 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-08-09 13:02:42 +0200
commit26e7164537380479bf96e852df6ab42ebe50e836 (patch)
treecc98c642369a8e875c6ac22cda9c3681dccaabd0 /include/video/da8xx-fb.h
parentvideo: da8xx-fb: fb_set_par support (diff)
downloadlinux-26e7164537380479bf96e852df6ab42ebe50e836.tar.xz
linux-26e7164537380479bf96e852df6ab42ebe50e836.zip
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/da8xx-fb.h')
-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;