X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fmiscdevice.h;h=dff9ea32606a56e986fd6a2cc62375675eec61db;hb=681e14730c73cc2c71af282c001de6bc71c22f00;hp=b03cfb91e228dd993987e3b2eb497c832397e073;hpb=c4e00fac42f268ed0a547cdd1d12bb8399864040;p=powerpc.git diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index b03cfb91e2..dff9ea3260 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -29,17 +29,17 @@ #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);