From 9d368f1533bc5e6a8e18fe59287b20a7ccb82c8a Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Tue, 2 Jan 2018 12:58:19 +0900 Subject: [PATCH] lcd: remove build warnings Remove build warnings in logo display. Change-Id: I021aa282bfb1c55ec909703f99b42f9b2dafede4 Signed-off-by: Seung-Woo Kim --- common/lcd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 134004f..7396eaf 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -94,6 +94,7 @@ static int lcd_getbgcolor (void); void lcd_setfgcolor (int color); static void lcd_setbgcolor (int color); +extern void lcd_display(void); char lcd_is_enabled = 0; @@ -510,7 +511,6 @@ static int lcd_getbgcolor (void) void _draw_image(int x, int y, int width, int height, unsigned short *palette, unsigned short *bitmap, unsigned int *num_bitmap, unsigned int num_elem, int clear) { unsigned long i, j, k, num_pre_pixels, num_post_pixels; - unsigned int tmp; u16 col16; ushort *fb16; @@ -605,10 +605,9 @@ void bitmap_plot (int x, int y, int mode) #else ushort *cmap; #endif - ushort i, j; + ushort i; uchar *bmap; uchar *fb; - ushort *fb16; #if defined CONFIG_PXA250 || defined CONFIG_PXA27X || defined CONFIG_CPU_MONAHANS struct pxafb_info *fbi = &panel_info.pxa; #elif defined(CONFIG_MPC823) -- 2.7.4