summaryrefslogtreecommitdiff
path: root/include/video/da8xx-fb.h
diff options
context:
space:
mode:
authorDarren Etheridge <detheridge@ti.com>2013-08-05 22:02:30 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-08-09 11:02:42 (GMT)
commit26e7164537380479bf96e852df6ab42ebe50e836 (patch)
treecc98c642369a8e875c6ac22cda9c3681dccaabd0 /include/video/da8xx-fb.h
parentfe8c98f06b5eec94d318cd4761e7673fb5e3c662 (diff)
downloadlinux-26e7164537380479bf96e852df6ab42ebe50e836.tar.xz
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 f888259..efed3c3 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;