From b4722ec943b3c51e103aaf7c6c77fe7b9c2c716d Mon Sep 17 00:00:00 2001 From: Rik Faith Date: Thu, 20 Jul 2000 05:17:49 +0000 Subject: More fixups for kernel build: EXPORT_SYMTAB warning removal put_module_symbol clean up of tdfx tdfx_cleanup routine Makefile.kernel fix --- linux-core/mga_drv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux-core/mga_drv.c') diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c index 75f14bee..30c8880f 100644 --- a/linux-core/mga_drv.c +++ b/linux-core/mga_drv.c @@ -31,7 +31,9 @@ */ #include +#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; } -- cgit v1.2.3