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 <clchiou@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Anatolij Gustschin
parent
c270730f58
commit
d3983ee853
@@ -57,6 +57,7 @@
|
||||
/* ** FONT DATA */
|
||||
/************************************************************************/
|
||||
#include <video_font.h> /* Get font data, width and height */
|
||||
#include <video_font_data.h>
|
||||
|
||||
/************************************************************************/
|
||||
/* ** LOGO DATA */
|
||||
|
||||
Reference in New Issue
Block a user