drm: remove drm_dev_set_unique
[linux-2.6-microblaze.git] / include / drm / drm_drv.h
index 1d76d06..b419c59 100644 (file)
@@ -400,25 +400,6 @@ struct drm_driver {
        int (*dumb_map_offset)(struct drm_file *file_priv,
                               struct drm_device *dev, uint32_t handle,
                               uint64_t *offset);
-       /**
-        * @dumb_destroy:
-        *
-        * This destroys the userspace handle for the given dumb backing storage buffer.
-        * Since buffer objects must be reference counted in the kernel a buffer object
-        * won't be immediately freed if a framebuffer modeset object still uses it.
-        *
-        * Called by the user via ioctl.
-        *
-        * The default implementation is drm_gem_dumb_destroy(). GEM based drivers
-        * must not overwrite this.
-        *
-        * Returns:
-        *
-        * Zero on success, negative errno on failure.
-        */
-       int (*dumb_destroy)(struct drm_file *file_priv,
-                           struct drm_device *dev,
-                           uint32_t handle);
 
        /** @major: driver major number */
        int major;
@@ -603,8 +584,6 @@ static inline bool drm_drv_uses_atomic_modeset(struct drm_device *dev)
 }
 
 
-int drm_dev_set_unique(struct drm_device *dev, const char *name);
-
 /* TODO: Inline drm_firmware_drivers_only() in all its callers. */
 static inline bool drm_firmware_drivers_only(void)
 {