patch-2.4.0-test11 linux/drivers/char/drm/tdfx_drv.c
Next file: linux/drivers/char/ftape/lowlevel/ftape-ctl.c
Previous file: linux/drivers/char/drm/r128_drv.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 16 14:05:49 2000
- Orig file:
v2.4.0-test10/linux/drivers/char/drm/tdfx_drv.c
- Orig date:
Sun Oct 8 10:50:16 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/char/drm/tdfx_drv.c linux/drivers/char/drm/tdfx_drv.c
@@ -235,7 +235,7 @@
drm_free(temp, sizeof(*temp), DRM_MEM_AGPLISTS);
temp = temp_next;
}
- if (dev->agp->acquired) (*drm_agp.release)();
+ if (dev->agp->acquired) _drm_agp_release();
}
#endif
/* Clear vma list (only built for debugging) */
@@ -298,7 +298,7 @@
/* tdfx_init is called via init_module at module load time, or via
* linux/init/main.c (this is not currently supported). */
-static int tdfx_init(void)
+static int __init tdfx_init(void)
{
int retcode;
drm_device_t *dev = &tdfx_device;
@@ -346,7 +346,7 @@
/* tdfx_cleanup is called via cleanup_module at module unload time. */
-static void tdfx_cleanup(void)
+static void __exit tdfx_cleanup(void)
{
drm_device_t *dev = &tdfx_device;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)