patch-2.4.0-test5 linux/drivers/video/leofb.c

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

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/video/leofb.c linux/drivers/video/leofb.c
@@ -1,4 +1,4 @@
-/* $Id: leofb.c,v 1.10 1999/11/19 09:57:05 davem Exp $
+/* $Id: leofb.c,v 1.11 2000/07/26 23:02:52 davem Exp $
  * leofb.c: Leo (ZX) 24/8bit frame buffer driver
  *
  * Copyright (C) 1996-1999 Jakub Jelinek (jj@ultra.linux.cz)
@@ -449,8 +449,13 @@
 }
 
 static struct display_switch leo_dispsw __initdata = {
-	leo_setup, fbcon_redraw_bmove, leo_clear, leo_putc, leo_putcs, leo_revc, 
-	NULL, NULL, NULL, FONTWIDTHRANGE(1,16) /* Allow fontwidths up to 16 */
+	setup:		leo_setup,
+	bmove:		fbcon_redraw_bmove,
+	clear:		leo_clear,
+	putc:		leo_putc,
+	putcs:		leo_putcs,
+	revc:		leo_revc, 
+	fontwidthmask:	FONTWIDTHRANGE(1,16) /* Allow fontwidths up to 16 */
 };
 
 static void leo_setcursormap (struct fb_info_sbusfb *fb, u8 *red, u8 *green, u8 *blue)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)