The lcd.h header is about to be deleted, so move this prototype. Signed-off-by: Simon Glass <s...@chromium.org> ---
cmd/bmp.c | 10 ---------- include/video.h | 9 +++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/cmd/bmp.c b/cmd/bmp.c index 5a3c8ddf8c8..880edad8898 100644 --- a/cmd/bmp.c +++ b/cmd/bmp.c @@ -221,16 +221,6 @@ static int bmp_info(ulong addr) return(0); } -/* - * Subroutine: bmp_display - * - * Description: Display bmp file located in memory - * - * Inputs: addr address of the bmp file - * - * Return: None - * - */ int bmp_display(ulong addr, int x, int y) { #ifdef CONFIG_DM_VIDEO diff --git a/include/video.h b/include/video.h index 43e2c899778..f062f4a63b0 100644 --- a/include/video.h +++ b/include/video.h @@ -275,4 +275,13 @@ static inline int video_sync_copy_all(struct udevice *dev) */ bool video_is_active(void); +/* + * bmp_display() - Display BMP (bitmap) data located in memory + * + * @addr: address of the bmp data + * @x: Position of bitmap from the left side, in pixels + * @y: Position of bitmap from the top, in pixels + */ +int bmp_display(ulong addr, int x, int y); + #endif -- 2.38.0.413.g74048e4d9e-goog