fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / linux / miscdevice.h
index 14ceebf..326da7d 100644 (file)
 #define        HPET_MINOR           228
 
 struct device;
-struct class_device;
 
 struct miscdevice  {
        int minor;
        const char *name;
-       struct file_operations *fops;
+       const struct file_operations *fops;
        struct list_head list;
-       struct device *dev;
-       struct class_device *class;
-       char devfs_name[64];
+       struct device *parent;
+       struct device *this_device;
 };
 
 extern int misc_register(struct miscdevice * misc);