From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled
Date: Sat, 12 Nov 2016 21:24:13 +0100 [thread overview]
Message-ID: <20161112212413.508fa3fa@crub> (raw)
In-Reply-To: <20161112093238.13858-1-sr@denx.de>
On Sat, 12 Nov 2016 10:32:38 +0100
Stefan Roese sr at denx.de wrote:
> Compiling the 'bmp' command with DM and having one of the following macros
> enabled:
>
> CONFIG_BMP_16BPP, CONFIG_BMP_24BPP ONFIG_BMP_32BPP
>
> generates this error:
>
> drivers/video/video_bmp.c: In function ?video_bmp_display?:
> drivers/video/video_bmp.c:315:22: error: ?lcd_line_length? undeclared (first use in this function)
> fb -= width * 2 + lcd_line_length;
> ^
>
> This patch moves to using the correct variable instead and enables the
> 'bmp' command for DM again.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Anatolij Gustschin <agust@denx.de>
> ---
> drivers/video/video_bmp.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to u-boot-video/master. Thanks!
--
Anatolij
prev parent reply other threads:[~2016-11-12 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-12 9:32 [U-Boot] [PATCH] video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled Stefan Roese
2016-11-12 20:24 ` Anatolij Gustschin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161112212413.508fa3fa@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox