diff options
author | Anatolij Gustschin <agust@denx.de> | 2009-02-25 20:28:13 +0100 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2009-02-25 20:28:13 +0100 |
commit | 00cc5595a7caac8066b408774383a956c2e26797 (patch) | |
tree | 171f7d8d33a08796124fdacd73e7a44f887bd300 /common | |
parent | f5a77a09c93fe7f04c0c56f64ea436f7d318d674 (diff) | |
download | u-boot-imx-00cc5595a7caac8066b408774383a956c2e26797.zip u-boot-imx-00cc5595a7caac8066b408774383a956c2e26797.tar.gz u-boot-imx-00cc5595a7caac8066b408774383a956c2e26797.tar.bz2 |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/lcd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/lcd.c b/common/lcd.c index d238fdd..4155170 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -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; |