summaryrefslogtreecommitdiff
path: root/linux-core/drm_memory_debug.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-06-17 09:09:17 +0000
committerDave Airlie <airlied@linux.ie>2005-06-17 09:09:17 +0000
commit71df0eed3476d4430a59ce21ca641ac8eecf54e2 (patch)
tree1b49d7846e3ca3dc516afa126498920bb642c002 /linux-core/drm_memory_debug.h
parent0569fe7a528e5e0753d9f72807a8f4310c6c9782 (diff)
fix up drm_alloc_agp to take a dev arg and not pass crappy agpgart around
Diffstat (limited to 'linux-core/drm_memory_debug.h')
-rw-r--r--linux-core/drm_memory_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_memory_debug.h b/linux-core/drm_memory_debug.h
index c55ec230..706b7525 100644
--- a/linux-core/drm_memory_debug.h
+++ b/linux-core/drm_memory_debug.h
@@ -346,7 +346,7 @@ void drm_ioremapfree (void *pt, unsigned long size, drm_device_t * dev) {
#if __OS_HAS_AGP
-DRM_AGP_MEM *drm_alloc_agp (int pages, u32 type) {
+DRM_AGP_MEM *drm_alloc_agp (drm_device_t *dev, int pages, u32 type) {
DRM_AGP_MEM *handle;
if (!pages) {