switch miscdevice to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c6684b2685
commit
a85cfdaec9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue