From e17abf5d5dc7c9895ed9aea0efb4ac501171fa54 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 30 Sep 2004 23:47:45 +0000 Subject: Make the debug memory functions compile for the core model. --- linux-core/drmP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drmP.h') diff --git a/linux-core/drmP.h b/linux-core/drmP.h index feba8f9d..b095d86f 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -176,7 +176,7 @@ */ #define DRM_MEM_ERROR(area, fmt, arg...) \ printk(KERN_ERR "[" DRM_NAME ":%s:%s] *ERROR* " fmt , __FUNCTION__, \ - drm_mem_stats)[area].name , ##arg) + drm_mem_stats[area].name , ##arg) #define DRM_INFO(fmt, arg...) printk(KERN_INFO "[" DRM_NAME "] " fmt , ##arg) /** -- cgit v1.2.3