summaryrefslogtreecommitdiff
path: root/linux/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/memory.c')
-rw-r--r--linux/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/memory.c b/linux/memory.c
index d03e214e..f342bb4f 100644
--- a/linux/memory.c
+++ b/linux/memory.c
@@ -330,7 +330,7 @@ void drm_ioremapfree(void *pt, unsigned long size)
}
}
-#ifdef CONFIG_DRM_AGP
+#ifdef DRM_AGP
agp_memory *drm_alloc_agp(int pages, u32 type)
{
agp_memory *handle;