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 /include/drm/drmP.h | |
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 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 757b63a23b14..30e827aeba02 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -772,7 +772,6 @@ struct drm_driver { | |||
772 | struct drm_file *file_priv); | 772 | struct drm_file *file_priv); |
773 | void (*reclaim_buffers_idlelocked) (struct drm_device *dev, | 773 | void (*reclaim_buffers_idlelocked) (struct drm_device *dev, |
774 | struct drm_file *file_priv); | 774 | struct drm_file *file_priv); |
775 | resource_size_t (*get_reg_ofs) (struct drm_device *dev); | ||
776 | void (*set_version) (struct drm_device *dev, | 775 | void (*set_version) (struct drm_device *dev, |
777 | struct drm_set_version *sv); | 776 | struct drm_set_version *sv); |
778 | 777 | ||
@@ -1159,7 +1158,6 @@ extern int drm_release(struct inode *inode, struct file *filp); | |||
1159 | extern int drm_mmap(struct file *filp, struct vm_area_struct *vma); | 1158 | extern int drm_mmap(struct file *filp, struct vm_area_struct *vma); |
1160 | extern int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma); | 1159 | extern int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma); |
1161 | extern void drm_vm_open_locked(struct vm_area_struct *vma); | 1160 | extern void drm_vm_open_locked(struct vm_area_struct *vma); |
1162 | extern resource_size_t drm_core_get_reg_ofs(struct drm_device *dev); | ||
1163 | extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); | 1161 | extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); |
1164 | 1162 | ||
1165 | /* Memory management support (drm_memory.h) */ | 1163 | /* Memory management support (drm_memory.h) */ |