diff options
author | Rik Faith <faith@alephnull.com> | 2000-07-20 05:17:49 +0000 |
---|---|---|
committer | Rik Faith <faith@alephnull.com> | 2000-07-20 05:17:49 +0000 |
commit | b4722ec943b3c51e103aaf7c6c77fe7b9c2c716d (patch) | |
tree | 4b783de6b311ed256d44678e944c19b30b24f99d /linux/mga_drv.c | |
parent | 0bd1fa795a06f592c1115b251685b36fec63fed3 (diff) |
More fixups for kernel build: EXPORT_SYMTAB warning removal
put_module_symbol clean up of tdfx tdfx_cleanup routine Makefile.kernel
fix
Diffstat (limited to 'linux/mga_drv.c')
-rw-r--r-- | linux/mga_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/mga_drv.c b/linux/mga_drv.c index 75f14bee..30c8880f 100644 --- a/linux/mga_drv.c +++ b/linux/mga_drv.c @@ -31,7 +31,9 @@ */ #include <linux/config.h> +#ifndef EXPORT_SYMTAB #define EXPORT_SYMTAB +#endif #include "drmP.h" #include "mga_drv.h" EXPORT_SYMBOL(mga_init); @@ -434,6 +436,7 @@ void mga_cleanup(void) mga_takedown(dev); if (dev->agp) { + drm_agp_uninit(); drm_free(dev->agp, sizeof(*dev->agp), DRM_MEM_AGPLISTS); dev->agp = NULL; } |