summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/miscdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/miscdevice.h')
-rw-r--r--kernel/include/linux/miscdevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/include/linux/miscdevice.h b/kernel/include/linux/miscdevice.h
index 819077c32..543037465 100644
--- a/kernel/include/linux/miscdevice.h
+++ b/kernel/include/linux/miscdevice.h
@@ -49,6 +49,7 @@
#define LOOP_CTRL_MINOR 237
#define VHOST_NET_MINOR 238
#define UHID_MINOR 239
+#define USERIO_MINOR 240
#define MISC_DYNAMIC_MINOR 255
struct device;
@@ -67,7 +68,7 @@ struct miscdevice {
};
extern int misc_register(struct miscdevice *misc);
-extern int misc_deregister(struct miscdevice *misc);
+extern void misc_deregister(struct miscdevice *misc);
#define MODULE_ALIAS_MISCDEV(minor) \
MODULE_ALIAS("char-major-" __stringify(MISC_MAJOR) \