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-09-11 17:15:32 -04:00
2016-03-27 09:12:19 -04:00
2015-06-10 19:26:54 -06:00
2016-10-23 18:33:48 -04:00
2013-10-30 10:48:41 +01:00
2016-03-17 10:27:26 +08:00
2016-10-23 18:33:43 -04:00
2016-01-21 20:42:36 -07:00