X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fmiscdevice.h;h=dff9ea32606a56e986fd6a2cc62375675eec61db;hb=73c279927f89561ecb45b2dfdf9314bafcfd9f67;hp=b03cfb91e228dd993987e3b2eb497c832397e073;hpb=a8c4c20dfa8b28a3c99e33c639d9c2ea5657741e;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);