Переглянути джерело

switch miscdevice to umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 14 роки тому
батько
коміт
a85cfdaec9
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      include/linux/miscdevice.h

+ 1 - 1
include/linux/miscdevice.h

@@ -54,7 +54,7 @@ struct miscdevice  {
 	struct device *parent;
 	struct device *parent;
 	struct device *this_device;
 	struct device *this_device;
 	const char *nodename;
 	const char *nodename;
-	mode_t mode;
+	umode_t mode;
 };
 };
 
 
 extern int misc_register(struct miscdevice * misc);
 extern int misc_register(struct miscdevice * misc);