patch-2.3.16 linux/drivers/video/leofb.c
Next file: linux/drivers/video/matroxfb.c
Previous file: linux/drivers/video/fbmem.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Tue Aug 31 11:25:33 1999
- Orig file:
v2.3.15/linux/drivers/video/leofb.c
- Orig date:
Thu Apr 22 19:30:08 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/video/leofb.c linux/drivers/video/leofb.c
@@ -1,4 +1,4 @@
-/* $Id: leofb.c,v 1.6 1999/04/01 13:03:25 jj Exp $
+/* $Id: leofb.c,v 1.7 1999/08/09 11:06:52 jj Exp $
* leofb.c: Leo (ZX) 24/8bit frame buffer driver
*
* Copyright (C) 1996-1999 Jakub Jelinek (jj@ultra.linux.cz)
@@ -505,8 +505,9 @@
us->fontt = 0;
}
-static void __init leo_rasterimg (struct fb_info_sbusfb *fb, int start)
+static int __init leo_rasterimg (struct fb_info *info, int start)
{
+ struct fb_info_sbusfb *fb = sbusfbinfo(info);
register struct leo_lc_ss0_usr *us = fb->s.leo.lc_ss0_usr;
register struct leo_ld *ss = fb->s.leo.ld_ss0;
@@ -521,6 +522,7 @@
ss->rop = 0x310850;
us->addrspace = 4;
}
+ return 0;
}
static char idstring[40] __initdata = { 0 };
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)