patch-2.3.46 linux/include/linux/miscdevice.h

Next file: linux/include/linux/nbd.h
Previous file: linux/include/linux/lp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.45/linux/include/linux/miscdevice.h linux/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 @@
 	const char *name;
 	struct file_operations *fops;
 	struct miscdevice * next, * prev;
+	devfs_handle_t devfs_handle;
 };
 
 extern int misc_register(struct miscdevice * misc);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)