aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
-rw-r--r--drivers/gpu/drm/drm_memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c
index 7732268eced2..70ca27edc3c9 100644
--- a/drivers/gpu/drm/drm_memory.c
+++ b/drivers/gpu/drm/drm_memory.c
@@ -106,9 +106,9 @@ DRM_AGP_MEM *drm_alloc_agp(struct drm_device * dev, int pages, u32 type)
106} 106}
107 107
108/** Wrapper around agp_free_memory() */ 108/** Wrapper around agp_free_memory() */
109int drm_free_agp(DRM_AGP_MEM * handle, int pages) 109void drm_free_agp(DRM_AGP_MEM * handle, int pages)
110{ 110{
111 return drm_agp_free_memory(handle) ? 0 : -EINVAL; 111 drm_agp_free_memory(handle);
112} 112}
113EXPORT_SYMBOL(drm_free_agp); 113EXPORT_SYMBOL(drm_free_agp);
114 114