summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mga/mga_drv.c
diff options
context:
space:
mode:
authorDaniel Vetter2010-08-23 22:53:27 +0200
committerDave Airlie2010-08-30 01:38:50 +0200
commit793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84 (patch)
tree418e5c4eef9c7566625829ddc823fa36c6a0d65e /drivers/gpu/drm/mga/mga_drv.c
parentdrm: drop return value of drm_free_agp (diff)
downloadkernel-qcow2-linux-793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84.tar.gz
kernel-qcow2-linux-793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84.tar.xz
kernel-qcow2-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/mga/mga_drv.c')
-rw-r--r--drivers/gpu/drm/mga/mga_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mga/mga_drv.c b/drivers/gpu/drm/mga/mga_drv.c
index 26d0d8ced80d..e9c0cbc21fe2 100644
--- a/drivers/gpu/drm/mga/mga_drv.c
+++ b/drivers/gpu/drm/mga/mga_drv.c
@@ -60,7 +60,6 @@ static struct drm_driver driver = {
.irq_uninstall = mga_driver_irq_uninstall,
.irq_handler = mga_driver_irq_handler,
.reclaim_buffers = drm_core_reclaim_buffers,
- .get_map_ofs = drm_core_get_map_ofs,
.get_reg_ofs = drm_core_get_reg_ofs,
.ioctls = mga_ioctls,
.dma_ioctl = mga_dma_buffers,