Skip to content

Commit a85cfda

Browse files
author
Al Viro
committed
switch miscdevice to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent c6684b2 commit a85cfda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/miscdevice.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct miscdevice {
5454
struct device *parent;
5555
struct device *this_device;
5656
const char *nodename;
57-
mode_t mode;
57+
umode_t mode;
5858
};
5959

6060
extern int misc_register(struct miscdevice * misc);

0 commit comments

Comments
 (0)