Searched hist:"22 bb1a7a1bbf0796185306bca95b94bdaa039ca3" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | video_bmp.c | 22bb1a7a1bbf0796185306bca95b94bdaa039ca3 Sat Nov 12 09:32:38 UTC 2016 Stefan Roese <sr@denx.de> 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>
|