summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 08:47:38 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 03:55:15 (GMT)
commita85cfdaec935ede36be6c54f98878624b0d9fbad (patch)
treea7ad251a7335205e22bc85beeac0d4370e317349 /include/linux
parentc6684b26854000d406c9fa0698443c50f2bf2cba (diff)
downloadlinux-fsl-qoriq-a85cfdaec935ede36be6c54f98878624b0d9fbad.tar.xz
switch miscdevice to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/miscdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index c41d727..3208524 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -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);