diff options
Diffstat (limited to 'common/cmd_bmp.c')
| -rw-r--r-- | common/cmd_bmp.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c index b8809e3bf..5a52edde3 100644 --- a/common/cmd_bmp.c +++ b/common/cmd_bmp.c @@ -31,6 +31,7 @@  #include <command.h>  #include <asm/byteorder.h>  #include <malloc.h> +#include <video.h>  static int bmp_info (ulong addr); @@ -238,9 +239,7 @@ int bmp_display(ulong addr, int x, int y)  #if defined(CONFIG_LCD)  	ret = lcd_display_bitmap((ulong)bmp, x, y);  #elif defined(CONFIG_VIDEO) -	extern int video_display_bitmap (ulong, int, int); - -	ret = video_display_bitmap ((unsigned long)bmp, x, y); +	ret = video_display_bitmap((unsigned long)bmp, x, y);  #else  # error bmp_display() requires CONFIG_LCD or CONFIG_VIDEO  #endif |