]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/miscdevice.h
PM: introduce hibernation and suspend notifiers
[karo-tx-linux.git] / include / linux / miscdevice.h
index 5b584dafb5a6d4384f9b3169b2500d8cf0c3b518..dff9ea32606a56e986fd6a2cc62375675eec61db 100644 (file)
 
 #define TUN_MINOR           200
 #define        HPET_MINOR           228
+#define KVM_MINOR            232
 
 struct device;
-struct class_device;
 
 struct miscdevice  {
        int minor;
        const char *name;
        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);