aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-08-23 16:53:28 -0400
committerDave Airlie <airlied@redhat.com>2010-08-29 19:44:56 -0400
commitcbc60ca04b342a4e1f2a1086a7277c077f07dbed (patch)
tree3979a1304b20cc90a7ec1dce593657435aa48c8d /drivers/gpu/drm/nouveau/nouveau_drv.c
parentdf8fcb09667c1b2c9dcf65de23f0bfa851e8138e (diff)
drm: kill get_reg_ofs callback
Every driver used the default implementation. Fold that one into the only callsite and drop the callback. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c
index 0d64259b21cc..209912a1b7a5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -379,7 +379,6 @@ static struct drm_driver driver = {
379 .irq_uninstall = nouveau_irq_uninstall, 379 .irq_uninstall = nouveau_irq_uninstall,
380 .irq_handler = nouveau_irq_handler, 380 .irq_handler = nouveau_irq_handler,
381 .reclaim_buffers = drm_core_reclaim_buffers, 381 .reclaim_buffers = drm_core_reclaim_buffers,
382 .get_reg_ofs = drm_core_get_reg_ofs,
383 .ioctls = nouveau_ioctls, 382 .ioctls = nouveau_ioctls,
384 .fops = { 383 .fops = {
385 .owner = THIS_MODULE, 384 .owner = THIS_MODULE,