summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-04-27 04:38:06 +0000
committerAnatolij Gustschin <agust@denx.de>2012-05-25 09:15:09 +0200
commitde3b49c4dd5c9bf1b6bf9e91b86f58d7a83174d5 (patch)
treecb0cbef62421b4afcaf1d3bfa8adeacebfd01063 /common
parent3d02408665b1622ef50518637e36ac4c53750c08 (diff)
downloadu-boot-imx-de3b49c4dd5c9bf1b6bf9e91b86f58d7a83174d5.zip
u-boot-imx-de3b49c4dd5c9bf1b6bf9e91b86f58d7a83174d5.tar.gz
u-boot-imx-de3b49c4dd5c9bf1b6bf9e91b86f58d7a83174d5.tar.bz2
cmd_bmp.c: make bmp_display() usable by drivers or board code
Currently bmp_display() is static and can not be used directly in the driver or board code. Export it for other users. Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bmp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c
index 4c29fa3..b8809e3 100644
--- a/common/cmd_bmp.c
+++ b/common/cmd_bmp.c
@@ -33,7 +33,6 @@
#include <malloc.h>
static int bmp_info (ulong addr);
-static int bmp_display (ulong addr, int x, int y);
/*
* Allocate and decompress a BMP image using gunzip().
@@ -221,7 +220,7 @@ static int bmp_info(ulong addr)
* Return: None
*
*/
-static int bmp_display(ulong addr, int x, int y)
+int bmp_display(ulong addr, int x, int y)
{
int ret;
bmp_image_t *bmp = (bmp_image_t *)addr;