summaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 04:47:38 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:15 -0500
commita85cfdaec935ede36be6c54f98878624b0d9fbad (patch)
treea7ad251a7335205e22bc85beeac0d4370e317349 /include/linux/miscdevice.h
parentc6684b26854000d406c9fa0698443c50f2bf2cba (diff)
downloadop-kernel-dev-a85cfdaec935ede36be6c54f98878624b0d9fbad.zip
op-kernel-dev-a85cfdaec935ede36be6c54f98878624b0d9fbad.tar.gz
switch miscdevice to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/miscdevice.h')
-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);
OpenPOWER on IntegriCloud