diff options
author | Darren Etheridge <detheridge@ti.com> | 2013-08-05 18:02:30 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-08-09 07:02:42 -0400 |
commit | 26e7164537380479bf96e852df6ab42ebe50e836 (patch) | |
tree | cc98c642369a8e875c6ac22cda9c3681dccaabd0 /include/video/da8xx-fb.h | |
parent | fe8c98f06b5eec94d318cd4761e7673fb5e3c662 (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/da8xx-fb.h')
-rw-r--r-- | include/video/da8xx-fb.h | 5 |
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 { | |||
23 | LOAD_PALETTE, | 23 | LOAD_PALETTE, |
24 | }; | 24 | }; |
25 | 25 | ||
26 | enum da8xx_frame_complete { | ||
27 | DA8XX_FRAME_WAIT, | ||
28 | DA8XX_FRAME_NOWAIT, | ||
29 | }; | ||
30 | |||
26 | struct da8xx_lcdc_platform_data { | 31 | struct da8xx_lcdc_platform_data { |
27 | const char manu_name[10]; | 32 | const char manu_name[10]; |
28 | void *controller_data; | 33 | void *controller_data; |