diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 06:00:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:53 -0400 |
commit | 88187398cc5fa6650f38b9dcd5464667f468888f (patch) | |
tree | eb9d45cdbe4506340b1131951bc7f2dba2f2a796 /include/linux/debugfs.h | |
parent | a051f71ce97c53cde3ac64de64eb02d658d9308e (diff) |
debugfs-related mode_t whack-a-mole
all of those should be umode_t...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r-- | include/linux/debugfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 6169c26fd8c8..ae36b72c22f3 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
@@ -86,7 +86,7 @@ struct dentry *debugfs_create_blob(const char *name, umode_t mode, | |||
86 | struct dentry *parent, | 86 | struct dentry *parent, |
87 | struct debugfs_blob_wrapper *blob); | 87 | struct debugfs_blob_wrapper *blob); |
88 | 88 | ||
89 | struct dentry *debugfs_create_regset32(const char *name, mode_t mode, | 89 | struct dentry *debugfs_create_regset32(const char *name, umode_t mode, |
90 | struct dentry *parent, | 90 | struct dentry *parent, |
91 | struct debugfs_regset32 *regset); | 91 | struct debugfs_regset32 *regset); |
92 | 92 | ||
@@ -208,7 +208,7 @@ static inline struct dentry *debugfs_create_blob(const char *name, umode_t mode, | |||
208 | } | 208 | } |
209 | 209 | ||
210 | static inline struct dentry *debugfs_create_regset32(const char *name, | 210 | static inline struct dentry *debugfs_create_regset32(const char *name, |
211 | mode_t mode, struct dentry *parent, | 211 | umode_t mode, struct dentry *parent, |
212 | struct debugfs_regset32 *regset) | 212 | struct debugfs_regset32 *regset) |
213 | { | 213 | { |
214 | return ERR_PTR(-ENODEV); | 214 | return ERR_PTR(-ENODEV); |