summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_vm.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-08-23 22:53:27 +0200
committerDave Airlie <airlied@redhat.com>2010-08-30 01:38:50 +0200
commit793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84 (patch)
tree418e5c4eef9c7566625829ddc823fa36c6a0d65e /drivers/gpu/drm/drm_vm.c
parentdrm: drop return value of drm_free_agp (diff)
downloadlinux-793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84.tar.xz
linux-793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84.zip
drm: kill drm_map_ofs callbacks
All drivers happily copy&pasted the default implementation without checking whether this callback is used at all. It's not. Sigh. Kill it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_vm.c')
-rw-r--r--drivers/gpu/drm/drm_vm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c
index fda67468e603..2fea2e63a313 100644
--- a/drivers/gpu/drm/drm_vm.c
+++ b/drivers/gpu/drm/drm_vm.c
@@ -515,13 +515,6 @@ static int drm_mmap_dma(struct file *filp, struct vm_area_struct *vma)
return 0;
}
-resource_size_t drm_core_get_map_ofs(struct drm_local_map * map)
-{
- return map->offset;
-}
-
-EXPORT_SYMBOL(drm_core_get_map_ofs);
-
resource_size_t drm_core_get_reg_ofs(struct drm_device *dev)
{
#ifdef __alpha__