X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Flcd.c;h=7396eaf3970003f1a2268aca21abfd9922bc767d;hb=9d368f1533bc5e6a8e18fe59287b20a7ccb82c8a;hp=134004f07b4572a49de0d0727adb2c0b5353f092;hpb=ff2cab7d1dfb13f967dbfde53608fdf1ec90e7f7;p=profile%2Fmobile%2Fplatform%2Fkernel%2Fu-boot-tm1.git 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)