[U-Boot] [PATCH v6 1/4] lcd: add clear and draw bitmap declaration
Anatolij Gustschin
agust at denx.de
Thu Nov 10 23:31:55 CET 2011
On Sun, 30 Oct 2011 19:21:14 +0100
Anatolij Gustschin <agust at denx.de> wrote:
> From: Che-liang Chiou <clchiou at chromium.org>
>
> The functions for clearing and drawing bitmaps on the screen were not
> exposed publicly and are made public in this patch in preparation for
> implementing the display interface of api_public.h.
>
> Signed-off-by: Che-Liang Chiou <clchiou at chromium.org>
> Acked-by: Mike Frysinger <vapier at gentoo.org>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> Changes since V5:
> - fix compile issues:
> lcd.c:81: error: conflicting types for 'lcd_clear'
> /home/ag/u-boot/u-boot-video/include/lcd.h:213: error: previous declaration of 'lcd_clear' was here
> lcd.c: In function 'do_lcd_clear':
> lcd.c:359: error: too few arguments to function 'lcd_clear'
> lcd.c: At top level:
> lcd.c:364: error: conflicting types for 'lcd_clear'
> lcd.c:81: error: previous declaration of 'lcd_clear' was here
> lcd.c: In function 'lcd_clear':
> lcd.c:405: warning: 'return' with a value, in function returning void
> lcd.c: At top level:
> lcd.c:408: warning: initialization from incompatible pointer type
> make[1]: *** [lcd.o] Error 1
> make: *** [common/libcommon.o] Error 2
>
> common/cmd_bmp.c | 4 +---
> common/lcd.c | 16 ++++++++++------
> include/lcd.h | 2 ++
> 3 files changed, 13 insertions(+), 9 deletions(-)
Applied to u-boot-video/master, thanks.
Anatolij
More information about the U-Boot
mailing list