patch-2.1.111 linux/drivers/video/font_8x16.c

Next file: linux/drivers/video/font_8x8.c
Previous file: linux/drivers/video/font_6x11.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.110/linux/drivers/video/font_8x16.c linux/drivers/video/font_8x16.c
@@ -4,14 +4,11 @@
 /*                                            */
 /**********************************************/
 
-#define FONTDATAMAX 4096
-
-char fontname_8x16[] = "VGA8x16";
+#include "font.h"
 
-int  fontheight_8x16 = 16;
-int  fontwidth_8x16  = 8;
+#define FONTDATAMAX 4096
 
-unsigned char fontdata_8x16[FONTDATAMAX] = {
+static unsigned char fontdata_8x16[FONTDATAMAX] = {
 
 	/* 0 0x00 '^@' */
 	0x00, /* 00000000 */
@@ -4623,3 +4620,12 @@
 
 };
 
+
+struct fbcon_font_desc font_vga_8x16 = {
+	VGA8x16_IDX,
+	"VGA8x16",
+	8,
+	16,
+	fontdata_8x16,
+	0
+};

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov