]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/miscdevice.h
PM: Remove destroy_suspended_device()
[linux-2.6-omap-h63xx.git] / include / linux / miscdevice.h
index b03cfb91e228dd993987e3b2eb497c832397e073..26433ec520b313c5b4faf7d44df3d2a6d1366905 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;
+       struct device *parent;
+       struct device *this_device;
 };
 
 extern int misc_register(struct miscdevice * misc);
-extern int misc_deregister(struct miscdevice * misc);
+extern int misc_deregister(struct miscdevice *misc);
 
 #define MODULE_ALIAS_MISCDEV(minor)                            \
        MODULE_ALIAS("char-major-" __stringify(MISC_MAJOR)      \