diff options
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 2d94d7413d71..60c33f14408f 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1022,7 +1022,7 @@ struct drm_info_list { | |||
1022 | struct drm_info_node { | 1022 | struct drm_info_node { |
1023 | struct list_head list; | 1023 | struct list_head list; |
1024 | struct drm_minor *minor; | 1024 | struct drm_minor *minor; |
1025 | struct drm_info_list *info_ent; | 1025 | const struct drm_info_list *info_ent; |
1026 | struct dentry *dent; | 1026 | struct dentry *dent; |
1027 | }; | 1027 | }; |
1028 | 1028 | ||
@@ -1546,8 +1546,7 @@ extern struct idr drm_minors_idr; | |||
1546 | extern struct drm_local_map *drm_getsarea(struct drm_device *dev); | 1546 | extern struct drm_local_map *drm_getsarea(struct drm_device *dev); |
1547 | 1547 | ||
1548 | /* Proc support (drm_proc.h) */ | 1548 | /* Proc support (drm_proc.h) */ |
1549 | extern int drm_proc_init(struct drm_minor *minor, int minor_id, | 1549 | extern int drm_proc_init(struct drm_minor *minor, struct proc_dir_entry *root); |
1550 | struct proc_dir_entry *root); | ||
1551 | extern int drm_proc_cleanup(struct drm_minor *minor, struct proc_dir_entry *root); | 1550 | extern int drm_proc_cleanup(struct drm_minor *minor, struct proc_dir_entry *root); |
1552 | 1551 | ||
1553 | /* Debugfs support */ | 1552 | /* Debugfs support */ |