summaryrefslogtreecommitdiff
path: root/linux-core/drm_memory.h
diff options
context:
space:
mode:
authorJose Fonseca <jrfonseca@users.sourceforge.net>2003-06-19 00:09:52 +0000
committerJose Fonseca <jrfonseca@users.sourceforge.net>2003-06-19 00:09:52 +0000
commit93522f6d3ad6924cbf413915491e4f8228502d98 (patch)
tree585f12bf357fed6656c6334b9ff9075b8a7514b5 /linux-core/drm_memory.h
parent0a995b624d325055abf5ba09d39ac8d85866d85a (diff)
Revert the janitorial - that works is now on the new branch
newdrm-0-0-1-branch.
Diffstat (limited to 'linux-core/drm_memory.h')
-rw-r--r--linux-core/drm_memory.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/linux-core/drm_memory.h b/linux-core/drm_memory.h
index 9999c213..2a969fcd 100644
--- a/linux-core/drm_memory.h
+++ b/linux-core/drm_memory.h
@@ -332,29 +332,27 @@ void DRM(ioremapfree)(void *pt, unsigned long size, drm_device_t *dev)
#if __REALLY_HAVE_AGP
/** Wrapper around agp_allocate_memory() */
-agp_memory *DRM(agp_alloc)(int pages, u32 type)
+agp_memory *DRM(alloc_agp)(int pages, u32 type)
{
return DRM(agp_allocate_memory)(pages, type);
}
/** Wrapper around agp_free_memory() */
-int DRM(agp_free)(agp_memory *handle, int pages)
+int DRM(free_agp)(agp_memory *handle, int pages)
{
return DRM(agp_free_memory)(handle) ? 0 : -EINVAL;
}
/** Wrapper around agp_bind_memory() */
-int DRM(agp_bind)(agp_memory *handle, unsigned int start)
+int DRM(bind_agp)(agp_memory *handle, unsigned int start)
{
return DRM(agp_bind_memory)(handle, start);
}
/** Wrapper around agp_unbind_memory() */
-int DRM(agp_unbind)(agp_memory *handle)
+int DRM(unbind_agp)(agp_memory *handle)
{
return DRM(agp_unbind_memory)(handle);
}
-#endif /* __REALLY_HAVE_AGP */
-
-
+#endif /* agp */
#endif /* debug_memory */