summaryrefslogtreecommitdiff
path: root/linux/drm_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_drv.h')
-rw-r--r--linux/drm_drv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drm_drv.h b/linux/drm_drv.h
index a6e745f3..a75566e8 100644
--- a/linux/drm_drv.h
+++ b/linux/drm_drv.h
@@ -153,6 +153,7 @@ struct drm_stub_info {
int (*info_unregister)(int minor);
struct class_simple *drm_class;
int *info_count;
+ struct proc_dir_entry *proc_root;
};
extern struct drm_stub_info DRM(stub_info);
@@ -775,7 +776,7 @@ static void __exit drm_cleanup( drm_device_t *dev )
}
#endif
- class_simple_device_remove(MKDEV(DRM_MAJOR, 0));
+ class_simple_device_remove(MKDEV(DRM_MAJOR, dev->minor));
}
static void __exit drm_exit (void)