summaryrefslogtreecommitdiff
path: root/drivers/message
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-24 11:36:29 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 07:54:56 +0400
commitd161a13f974c72fd7ff0069d39a3ae57cb5694ff (patch)
tree0c6d6237b3eafbe362798d7727a02f509fd72ca9 /drivers/message
parent587a1f1659e8b330b8738ef4901832a2b63f0bed (diff)
downloadlinux-d161a13f974c72fd7ff0069d39a3ae57cb5694ff.tar.xz
switch procfs to umode_t use
both proc_dir_entry ->mode and populating functions Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/i2o/i2o_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/i2o_proc.c b/drivers/message/i2o/i2o_proc.c
index 07dbeaf9df99..6d115c7208ab 100644
--- a/drivers/message/i2o/i2o_proc.c
+++ b/drivers/message/i2o/i2o_proc.c
@@ -56,7 +56,7 @@
/* Structure used to define /proc entries */
typedef struct _i2o_proc_entry_t {
char *name; /* entry name */
- mode_t mode; /* mode */
+ umode_t mode; /* mode */
const struct file_operations *fops; /* open function */
} i2o_proc_entry;