mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
lcd: Fix compilation warning in common/lcd.c
Fix following warning while compilation for mcc200 board: lcd.c: In function 'lcd_display_bitmap': lcd.c:625: warning: unused variable 'cmap' Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
f5a77a09c9
commit
00cc5595a7
1 changed files with 4 additions and 1 deletions
|
@ -622,7 +622,10 @@ void bitmap_plot (int x, int y)
|
|||
*/
|
||||
int lcd_display_bitmap(ulong bmp_image, int x, int y)
|
||||
{
|
||||
ushort *cmap = NULL, *cmap_base = NULL;
|
||||
#if !defined(CONFIG_MCC200)
|
||||
ushort *cmap = NULL;
|
||||
#endif
|
||||
ushort *cmap_base = NULL;
|
||||
ushort i, j;
|
||||
uchar *fb;
|
||||
bmp_image_t *bmp=(bmp_image_t *)bmp_image;
|
||||
|
|
Loading…
Reference in a new issue