switch miscdevice to umode_t
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 08:47:38 +0000 (04:47 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:55:15 +0000 (22:55 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/miscdevice.h

index c41d7270c6c6e681eae994ce60b5b9b013c6492c..32085249e9cbf54d0d65ebc63e0e08cb8b6a132f 100644 (file)
@@ -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);