Browse Source

switch miscdevice to umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 14 years ago
parent
commit
a85cfdaec9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/miscdevice.h

+ 1 - 1
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);