summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-01-17 13:04:42 +0000
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-03-12 10:13:22 +0100
commit88be276a427124cc545a7d89b137e4ae6dd79acb (patch)
tree0a0fc2fc8550260aba2baf7919870aa5120f2b50 /linux-core
parent32625774072f905d15024cc40ce7fd364d9ee4cd (diff)
Fix for debug memory routines
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_memory.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux-core/drm_memory.c b/linux-core/drm_memory.c
index 1a6c48df..12e01414 100644
--- a/linux-core/drm_memory.c
+++ b/linux-core/drm_memory.c
@@ -326,7 +326,12 @@ static void *agp_remap(unsigned long offset, unsigned long size,
return NULL;
}
#endif /* agp */
-
+#else
+static void *agp_remap(unsigned long offset, unsigned long size,
+ struct drm_device * dev)
+{
+ return NULL;
+}
#endif /* debug_memory */
void drm_core_ioremap(struct drm_map *map, struct drm_device *dev)