summaryrefslogtreecommitdiff
path: root/common/cmd_bmp.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2008-01-11 02:15:02 +0100
committerWolfgang Denk <wd@denx.de>2008-01-12 00:35:48 +0100
commit5ba7390c3cb579172be66888a371707b47b5be4e (patch)
treeb166a2063aed70117b31853274569a6a8fe18178 /common/cmd_bmp.c
parent5aa437baae5fe629abeab99bef793a2a1fc71b58 (diff)
downloadu-boot-imx-5ba7390c3cb579172be66888a371707b47b5be4e.zip
u-boot-imx-5ba7390c3cb579172be66888a371707b47b5be4e.tar.gz
u-boot-imx-5ba7390c3cb579172be66888a371707b47b5be4e.tar.bz2
Fix compilation problem in common/cmd_bmp.c
common/cmd_bmp.c fails to compile if CONFIG_VIDEO_BMP_GZIP isn't defined. This patch fix this. Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'common/cmd_bmp.c')
-rw-r--r--common/cmd_bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c
index 2437e22..197e5e8 100644
--- a/common/cmd_bmp.c
+++ b/common/cmd_bmp.c
@@ -85,7 +85,7 @@ static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
return bmp;
}
#else
-static bmp_image_t *gunzip_bmp(unsigned long addr)
+static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
{
return NULL;
}