lcd: remove build warnings 42/165542/2
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 2 Jan 2018 03:58:19 +0000 (12:58 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 2 Jan 2018 06:47:43 +0000 (15:47 +0900)
Remove build warnings in logo display.

Change-Id: I021aa282bfb1c55ec909703f99b42f9b2dafede4
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
common/lcd.c

index 134004f..7396eaf 100644 (file)
@@ -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)