diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index cb7f1a8c5a4a..4071fe70c416 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c | |||
@@ -118,9 +118,6 @@ int radeon_mode_dumb_mmap(struct drm_file *filp, | |||
118 | int radeon_mode_dumb_create(struct drm_file *file_priv, | 118 | int radeon_mode_dumb_create(struct drm_file *file_priv, |
119 | struct drm_device *dev, | 119 | struct drm_device *dev, |
120 | struct drm_mode_create_dumb *args); | 120 | struct drm_mode_create_dumb *args); |
121 | int radeon_mode_dumb_destroy(struct drm_file *file_priv, | ||
122 | struct drm_device *dev, | ||
123 | uint32_t handle); | ||
124 | struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj); | 121 | struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj); |
125 | struct drm_gem_object *radeon_gem_prime_import_sg_table(struct drm_device *dev, | 122 | struct drm_gem_object *radeon_gem_prime_import_sg_table(struct drm_device *dev, |
126 | size_t size, | 123 | size_t size, |
@@ -421,7 +418,7 @@ static struct drm_driver kms_driver = { | |||
421 | .gem_close_object = radeon_gem_object_close, | 418 | .gem_close_object = radeon_gem_object_close, |
422 | .dumb_create = radeon_mode_dumb_create, | 419 | .dumb_create = radeon_mode_dumb_create, |
423 | .dumb_map_offset = radeon_mode_dumb_mmap, | 420 | .dumb_map_offset = radeon_mode_dumb_mmap, |
424 | .dumb_destroy = radeon_mode_dumb_destroy, | 421 | .dumb_destroy = drm_gem_dumb_destroy, |
425 | .fops = &radeon_driver_kms_fops, | 422 | .fops = &radeon_driver_kms_fops, |
426 | 423 | ||
427 | .prime_handle_to_fd = drm_gem_prime_handle_to_fd, | 424 | .prime_handle_to_fd = drm_gem_prime_handle_to_fd, |