aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLespiau, Damien <damien.lespiau@intel.com>2013-10-17 14:09:53 -0400
committerDave Airlie <airlied@redhat.com>2013-11-05 21:04:13 -0500
commit7d74795b740135b7c89269ce21be51cc5b328de6 (patch)
tree7e1d9c5ac37171c8536a96774683d3bf17b41c2f /include
parenta276d6ce8a9b146831f3f14b327f74df446a794a (diff)
drm: Constify struct drm_info_list * arguments
Those functions are just reading data from those pointers. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drmP.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 748c72907829..0da45d930c0a 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1477,10 +1477,11 @@ extern struct drm_local_map *drm_getsarea(struct drm_device *dev);
1477#if defined(CONFIG_DEBUG_FS) 1477#if defined(CONFIG_DEBUG_FS)
1478extern int drm_debugfs_init(struct drm_minor *minor, int minor_id, 1478extern int drm_debugfs_init(struct drm_minor *minor, int minor_id,
1479 struct dentry *root); 1479 struct dentry *root);
1480extern int drm_debugfs_create_files(struct drm_info_list *files, int count, 1480extern int drm_debugfs_create_files(const struct drm_info_list *files,
1481 struct dentry *root, struct drm_minor *minor); 1481 int count, struct dentry *root,
1482extern int drm_debugfs_remove_files(struct drm_info_list *files, int count, 1482 struct drm_minor *minor);
1483 struct drm_minor *minor); 1483extern int drm_debugfs_remove_files(const struct drm_info_list *files,
1484 int count, struct drm_minor *minor);
1484extern int drm_debugfs_cleanup(struct drm_minor *minor); 1485extern int drm_debugfs_cleanup(struct drm_minor *minor);
1485#endif 1486#endif
1486 1487