[U-Boot] [PATCH v6 1/4] lcd: add clear and draw bitmap declaration

Anatolij Gustschin
2011-11-10T22:31:55Z

On Sun, 30 Oct 2011 19:21:14 +0100
Anatolij Gustschin <agust@denx.de> wrote:

> From: Che-liang Chiou <clchiou@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@chromium.org>
> Acked-by: Mike Frysinger <vapier@gentoo.org>
> Signed-off-by: Anatolij Gustschin <agust@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