Stefan Roese 22bb1a7a1b video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled
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>
2016-11-13 15:54:38 -05:00
..
2015-11-02 10:38:00 +09:00
2016-10-19 09:01:51 +02:00
2016-01-27 15:32:05 +01:00
2016-10-12 20:48:43 -04:00
2016-10-28 07:13:52 -04:00
2016-02-06 12:00:59 +01:00
2016-08-12 16:00:50 -04:00
2016-03-14 19:21:44 -04:00
2016-10-11 11:55:33 +08:00
2016-10-31 10:13:17 -04:00