switch miscdevice to umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-07-26 04:47:38 -04:00
parent c6684b2685
commit a85cfdaec9

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