summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 04:47:38 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:15 -0500
commita85cfdaec935ede36be6c54f98878624b0d9fbad (patch)
treea7ad251a7335205e22bc85beeac0d4370e317349
parentc6684b26854000d406c9fa0698443c50f2bf2cba (diff)
downloadlinux-a85cfdaec935ede36be6c54f98878624b0d9fbad.tar.gz
linux-a85cfdaec935ede36be6c54f98878624b0d9fbad.tar.bz2
linux-a85cfdaec935ede36be6c54f98878624b0d9fbad.zip
switch miscdevice to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--include/linux/miscdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index c41d7270c6c6..32085249e9cb 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -54,7 +54,7 @@ struct miscdevice {
struct device *parent;
struct device *this_device;
const char *nodename;
- mode_t mode;
+ umode_t mode;
};
extern int misc_register(struct miscdevice * misc);