summaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index 9e2a1e4ff..9cf4b9a14 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -1,6 +1,8 @@
#ifndef _LINUX_MISCDEVICE_H
#define _LINUX_MISCDEVICE_H
+#include <linux/devfs_fs_kernel.h>
+
#define BUSMOUSE_MINOR 0
#define PSMOUSE_MINOR 1
#define MS_BUSMOUSE_MINOR 2
@@ -36,6 +38,7 @@ struct miscdevice
const char *name;
struct file_operations *fops;
struct miscdevice * next, * prev;
+ devfs_handle_t devfs_handle;
};
extern int misc_register(struct miscdevice * misc);