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 --- arch/powerpc/cpu/mpc8xx/video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/powerpc/cpu') diff --git a/arch/powerpc/cpu/mpc8xx/video.c b/arch/powerpc/cpu/mpc8xx/video.c index 7725c67b48..1bbf4ccc65 100644 --- a/arch/powerpc/cpu/mpc8xx/video.c +++ b/arch/powerpc/cpu/mpc8xx/video.c @@ -125,6 +125,7 @@ DECLARE_GLOBAL_DATA_PTR; /************************************************************************/ #include /* Get font data, width and height */ +#include #ifdef CONFIG_VIDEO_LOGO #include /* Get logo data, width and height */ -- cgit