From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 10 Nov 2011 23:31:55 +0100 Subject: [U-Boot] [PATCH v6 1/4] lcd: add clear and draw bitmap declaration In-Reply-To: <1319998874-16164-1-git-send-email-agust@denx.de> References: <1319187862-31863-2-git-send-email-clchiou@chromium.org> <1319998874-16164-1-git-send-email-agust@denx.de> Message-ID: <20111110233155.1d4ff5b3@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 30 Oct 2011 19:21:14 +0100 Anatolij Gustschin wrote: > From: Che-liang Chiou > > 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 > Acked-by: Mike Frysinger > Signed-off-by: Anatolij Gustschin > --- > 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