Эх сурвалжийг харах

switch miscdevice to umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 14 жил өмнө
parent
commit
a85cfdaec9

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