提交 a85cfdae 编写于 作者: A Al Viro

switch miscdevice to umode_t

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 c6684b26
...@@ -54,7 +54,7 @@ struct miscdevice { ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册