From: Al Viro Date: Tue, 26 Jul 2011 08:47:38 +0000 (-0400) Subject: switch miscdevice to umode_t X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a85cfdaec935ede36be6c54f98878624b0d9fbad;p=openwrt%2Fstaging%2Fblogic.git switch miscdevice to umode_t Signed-off-by: Al Viro --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index c41d7270c6c6..32085249e9cb 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);