diff options
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/drm_debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index a05087cf846d..b4b51d46f339 100644 --- a/drivers/gpu/drm/drm_debugfs.c +++ b/drivers/gpu/drm/drm_debugfs.c | |||
@@ -42,7 +42,7 @@ | |||
42 | * Initialization, etc. | 42 | * Initialization, etc. |
43 | **************************************************/ | 43 | **************************************************/ |
44 | 44 | ||
45 | static struct drm_info_list drm_debugfs_list[] = { | 45 | static const struct drm_info_list drm_debugfs_list[] = { |
46 | {"name", drm_name_info, 0}, | 46 | {"name", drm_name_info, 0}, |
47 | {"vm", drm_vm_info, 0}, | 47 | {"vm", drm_vm_info, 0}, |
48 | {"clients", drm_clients_info, 0}, | 48 | {"clients", drm_clients_info, 0}, |
@@ -84,7 +84,7 @@ static const struct file_operations drm_debugfs_fops = { | |||
84 | * Create a given set of debugfs files represented by an array of | 84 | * Create a given set of debugfs files represented by an array of |
85 | * gdm_debugfs_lists in the given root directory. | 85 | * gdm_debugfs_lists in the given root directory. |
86 | */ | 86 | */ |
87 | int drm_debugfs_create_files(struct drm_info_list *files, int count, | 87 | int drm_debugfs_create_files(const struct drm_info_list *files, int count, |
88 | struct dentry *root, struct drm_minor *minor) | 88 | struct dentry *root, struct drm_minor *minor) |
89 | { | 89 | { |
90 | struct drm_device *dev = minor->dev; | 90 | struct drm_device *dev = minor->dev; |
@@ -188,7 +188,7 @@ int drm_debugfs_init(struct drm_minor *minor, int minor_id, | |||
188 | * | 188 | * |
189 | * Remove all debugfs entries created by debugfs_init(). | 189 | * Remove all debugfs entries created by debugfs_init(). |
190 | */ | 190 | */ |
191 | int drm_debugfs_remove_files(struct drm_info_list *files, int count, | 191 | int drm_debugfs_remove_files(const struct drm_info_list *files, int count, |
192 | struct drm_minor *minor) | 192 | struct drm_minor *minor) |
193 | { | 193 | { |
194 | struct list_head *pos, *q; | 194 | struct list_head *pos, *q; |