From d3983ee85325d2be730830ebcf82585ee7cd2ecb Mon Sep 17 00:00:00 2001 From: Che-Liang Chiou Date: Fri, 21 Oct 2011 17:04:21 +0800 Subject: font: split font data from video_font.h While video_font.h is useful even without referencing the font data, it is not possible to be included multiple times because it defines font data array right in the header. This patch splits the font data array into video_font_data.h and so now video_font.h can be included multiple times. This at least solves the code duplication in board/mcc200/lcd.c. Signed-off-by: Che-Liang Chiou Acked-by: Mike Frysinger --- drivers/video/sed156x.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/sed156x.c') diff --git a/drivers/video/sed156x.c b/drivers/video/sed156x.c index 707250d..a610b74 100644 --- a/drivers/video/sed156x.c +++ b/drivers/video/sed156x.c @@ -41,6 +41,7 @@ /* include the font data */ #include +#include #if VIDEO_FONT_WIDTH != 8 || VIDEO_FONT_HEIGHT != 16 #error Expecting VIDEO_FONT_WIDTH == 8 && VIDEO_FONT_HEIGHT == 16 -- cgit v1.1