From 10ba6b333955b7be491f9dd8c1241309dfcb5c8b Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Fri, 5 May 2017 21:48:30 +0200 Subject: video: bmp: rename CONFIG_BMP_24BMP to CONFIG_BMP_24BPP Due to a typo, the 24 bit-per-pixel configuration ends in 24BMP instead of 24BPP. This change renames it throughout the source tree for consistency and to make moving these options into Kconfig easier and less error-prone. Signed-off-by: Philipp Tomsich Reviewed-by: Simon Glass Reviewed-by: Hannes Schmelzer --- common/lcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/lcd.c b/common/lcd.c index 783626e3d54..2405146cf09 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -704,7 +704,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y) } break; #endif /* CONFIG_BMP_16BPP */ -#if defined(CONFIG_BMP_24BMP) +#if defined(CONFIG_BMP_24BPP) case 24: for (i = 0; i < height; ++i) { for (j = 0; j < width; j++) { @@ -716,7 +716,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y) fb -= lcd_line_length + width * (bpix / 8); } break; -#endif /* CONFIG_BMP_24BMP */ +#endif /* CONFIG_BMP_24BPP */ #if defined(CONFIG_BMP_32BPP) case 32: for (i = 0; i < height; ++i) { -- cgit v1.2.3