From: Al Viro Date: Tue, 26 Jul 2011 08:47:38 +0000 (-0400) Subject: switch miscdevice to umode_t X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a85cfdaec935ede36be6c54f98878624b0d9fbad;p=mv-sheeva.git switch miscdevice to umode_t Signed-off-by: Al Viro --- diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index c41d7270c6c..32085249e9c 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);