diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-08-23 16:53:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-29 19:38:50 -0400 |
commit | 793a97e4cc38f834e0488ccc1ecbfe52ff6f5b84 (patch) | |
tree | 418e5c4eef9c7566625829ddc823fa36c6a0d65e /include/drm | |
parent | 690bb51b54a986e48c7b8b2dba51a3cd262a7266 (diff) |
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 'include/drm')
-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 7fd1870b6a70..70a14a4faa1e 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_map_ofs) (struct drm_local_map * map); | ||
776 | resource_size_t (*get_reg_ofs) (struct drm_device *dev); | 775 | resource_size_t (*get_reg_ofs) (struct drm_device *dev); |
777 | void (*set_version) (struct drm_device *dev, | 776 | void (*set_version) (struct drm_device *dev, |
778 | struct drm_set_version *sv); | 777 | struct drm_set_version *sv); |
@@ -1167,7 +1166,6 @@ extern int drm_release(struct inode *inode, struct file *filp); | |||
1167 | extern int drm_mmap(struct file *filp, struct vm_area_struct *vma); | 1166 | extern int drm_mmap(struct file *filp, struct vm_area_struct *vma); |
1168 | extern int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma); | 1167 | extern int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma); |
1169 | extern void drm_vm_open_locked(struct vm_area_struct *vma); | 1168 | extern void drm_vm_open_locked(struct vm_area_struct *vma); |
1170 | extern resource_size_t drm_core_get_map_ofs(struct drm_local_map * map); | ||
1171 | extern resource_size_t drm_core_get_reg_ofs(struct drm_device *dev); | 1169 | extern resource_size_t drm_core_get_reg_ofs(struct drm_device *dev); |
1172 | extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); | 1170 | extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); |
1173 | 1171 | ||