From 7d74795b740135b7c89269ce21be51cc5b328de6 Mon Sep 17 00:00:00 2001 From: "Lespiau, Damien" Date: Thu, 17 Oct 2013 19:09:53 +0100 Subject: drm: Constify struct drm_info_list * arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Those functions are just reading data from those pointers. Signed-off-by: Damien Lespiau Reviewed-by: Ville Syrjälä Signed-off-by: Dave Airlie --- include/drm/drmP.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/drm') 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); #if defined(CONFIG_DEBUG_FS) extern int drm_debugfs_init(struct drm_minor *minor, int minor_id, struct dentry *root); -extern int drm_debugfs_create_files(struct drm_info_list *files, int count, - struct dentry *root, struct drm_minor *minor); -extern int drm_debugfs_remove_files(struct drm_info_list *files, int count, - struct drm_minor *minor); +extern int drm_debugfs_create_files(const struct drm_info_list *files, + int count, struct dentry *root, + struct drm_minor *minor); +extern int drm_debugfs_remove_files(const struct drm_info_list *files, + int count, struct drm_minor *minor); extern int drm_debugfs_cleanup(struct drm_minor *minor); #endif -- cgit v1.2.3-59-g8ed1b