Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370126
b: refs/heads/master
c: ce089b5
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Al Viro committed May 1, 2013
1 parent 63062c5 commit 1d79575
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c2f343825192044ffaf542854d478e00f7f0a59
refs/heads/master: ce089b5472f7d0321bcb2cbc22d85bac15e4778b
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/drm_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/**
* Proc file list.
*/
static struct drm_info_list drm_proc_list[] = {
static const struct drm_info_list drm_proc_list[] = {
{"name", drm_name_info, 0},
{"vm", drm_vm_info, 0},
{"clients", drm_clients_info, 0},
Expand Down Expand Up @@ -89,7 +89,7 @@ static const struct file_operations drm_proc_fops = {
* Create a given set of proc files represented by an array of
* gdm_proc_lists in the given root directory.
*/
static int drm_proc_create_files(struct drm_info_list *files, int count,
static int drm_proc_create_files(const struct drm_info_list *files, int count,
struct proc_dir_entry *root, struct drm_minor *minor)
{
struct drm_device *dev = minor->dev;
Expand Down Expand Up @@ -172,7 +172,7 @@ int drm_proc_init(struct drm_minor *minor, int minor_id,
return 0;
}

static int drm_proc_remove_files(struct drm_info_list *files, int count,
static int drm_proc_remove_files(const struct drm_info_list *files, int count,
struct drm_minor *minor)
{
struct list_head *pos, *q;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ struct drm_info_list {
struct drm_info_node {
struct list_head list;
struct drm_minor *minor;
struct drm_info_list *info_ent;
const struct drm_info_list *info_ent;
struct dentry *dent;
};

Expand Down

0 comments on commit 1d79575

Please sign in to comment.