diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 04:47:38 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:15 -0500 |
commit | a85cfdaec935ede36be6c54f98878624b0d9fbad (patch) | |
tree | a7ad251a7335205e22bc85beeac0d4370e317349 /include/linux/miscdevice.h | |
parent | c6684b26854000d406c9fa0698443c50f2bf2cba (diff) |
switch miscdevice to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r-- | include/linux/miscdevice.h | 2 |
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 { | |||
54 | struct device *parent; | 54 | struct device *parent; |
55 | struct device *this_device; | 55 | struct device *this_device; |
56 | const char *nodename; | 56 | const char *nodename; |
57 | mode_t mode; | 57 | umode_t mode; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | extern int misc_register(struct miscdevice * misc); | 60 | extern int misc_register(struct miscdevice * misc); |