From de3b49c4dd5c9bf1b6bf9e91b86f58d7a83174d5 Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Fri, 27 Apr 2012 04:38:06 +0000 Subject: 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 --- common/cmd_bmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/cmd_bmp.c') diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c index 4c29fa34ba..b8809e3bf5 100644 --- a/common/cmd_bmp.c +++ b/common/cmd_bmp.c @@ -33,7 +33,6 @@ #include 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; -- cgit