diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index c41d7270c6c6e681eae994ce60b5b9b013c6492c..32085249e9cbf54d0d65ebc63e0e08cb8b6a132f 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);