diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-08-23 16:53:28 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-29 19:44:56 -0400 |
commit | cbc60ca04b342a4e1f2a1086a7277c077f07dbed (patch) | |
tree | 3979a1304b20cc90a7ec1dce593657435aa48c8d /drivers/gpu/drm/radeon/radeon_drv.c | |
parent | df8fcb09667c1b2c9dcf65de23f0bfa851e8138e (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/radeon/radeon_drv.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index 8fd89bb8e610..663cdc10a5c2 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c | |||
@@ -203,7 +203,6 @@ static struct drm_driver driver_old = { | |||
203 | .irq_uninstall = radeon_driver_irq_uninstall, | 203 | .irq_uninstall = radeon_driver_irq_uninstall, |
204 | .irq_handler = radeon_driver_irq_handler, | 204 | .irq_handler = radeon_driver_irq_handler, |
205 | .reclaim_buffers = drm_core_reclaim_buffers, | 205 | .reclaim_buffers = drm_core_reclaim_buffers, |
206 | .get_reg_ofs = drm_core_get_reg_ofs, | ||
207 | .ioctls = radeon_ioctls, | 206 | .ioctls = radeon_ioctls, |
208 | .dma_ioctl = radeon_cp_buffers, | 207 | .dma_ioctl = radeon_cp_buffers, |
209 | .fops = { | 208 | .fops = { |
@@ -289,7 +288,6 @@ static struct drm_driver kms_driver = { | |||
289 | .irq_uninstall = radeon_driver_irq_uninstall_kms, | 288 | .irq_uninstall = radeon_driver_irq_uninstall_kms, |
290 | .irq_handler = radeon_driver_irq_handler_kms, | 289 | .irq_handler = radeon_driver_irq_handler_kms, |
291 | .reclaim_buffers = drm_core_reclaim_buffers, | 290 | .reclaim_buffers = drm_core_reclaim_buffers, |
292 | .get_reg_ofs = drm_core_get_reg_ofs, | ||
293 | .ioctls = radeon_ioctls_kms, | 291 | .ioctls = radeon_ioctls_kms, |
294 | .gem_init_object = radeon_gem_object_init, | 292 | .gem_init_object = radeon_gem_object_init, |
295 | .gem_free_object = radeon_gem_object_free, | 293 | .gem_free_object = radeon_gem_object_free, |