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/r128_drv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux-core/r128_drv.c') diff --git a/linux-core/r128_drv.c b/linux-core/r128_drv.c index 125de17d..e78d0231 100644 --- a/linux-core/r128_drv.c +++ b/linux-core/r128_drv.c @@ -30,7 +30,9 @@ */ #include +#ifndef EXPORT_SYMTAB #define EXPORT_SYMTAB +#endif #include "drmP.h" #include "r128_drv.h" EXPORT_SYMBOL(r128_init); @@ -409,7 +411,7 @@ void r128_cleanup(void) r128_takedown(dev); #ifdef DRM_AGP if (dev->agp) { - /* FIXME -- free other information, too */ + drm_agp_uninit(); drm_free(dev->agp, sizeof(*dev->agp), DRM_MEM_AGPLISTS); dev->agp = NULL; } -- cgit v1.2.3