On Sun, Oct 28, 2001 at 04:11:02PM -0800, James Simmons wrote: > Update of /cvsroot/linuxconsole/ruby/linux/drivers/video > In directory usw-pr-cvs1:/tmp/cvs-serv10630/drivers/video >=20 > Modified Files: > Config.in fbcon.c fm2fb.c macfb.c newport_con.c promcon.c=20 > sa1100fb.c sgivwfb.c=20 > Log Message: > Synced to 2.4.13 >=20 [snip] > Index: newport_con.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/video/newport_con.c,v > retrieving revision 1.8 > retrieving revision 1.9 > diff -u -d -r1.8 -r1.9 > --- newport_con.c 2001/09/01 21:28:56 1.8 > +++ newport_con.c 2001/10/29 00:11:00 1.9 [snip] > -void __exit newport_module_exit(void) { > - printk("Unloading SGI Newport Console Driver\n"); > -} > +int cleanup_module(void) > +{ > + int i; > =20 > -module_init(newport_module_init); > -module_exit(newport_module_exit); > + printk("Unloading SGI Newport Console Driver\n"); > + /* free memory used by user font */ > + for (i =3D 0; i < MAX_NR_CONSOLES; i++) > + newport_set_def_font(i, NULL); > =20 > + return 0; > +} > +#endif >=20 Careful here.. Linus's tree is still using init_module()/cleanup_module() f= or newport.. we want to use module_init()/module_exit() instead.. Regards, --=20 Paul Mundt <pm...@mv...> MontaVista Software, Inc. |