summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-30 23:47:45 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-30 23:47:45 +0000
commite17abf5d5dc7c9895ed9aea0efb4ac501171fa54 (patch)
tree546f5ed720d5d1ad897bb7aeaff8a6b7368a7e17 /linux-core/drmP.h
parenta36a6a291d3627bf1ad036fa4a7a33ea99e8ed5d (diff)
Make the debug memory functions compile for the core model.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h2
1 files changed, 1 insertions, 1 deletions
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)
/**