X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fmiscdevice.h;h=326da7d500c73953624093bd6cb9ae995d8e1725;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=14ceebfc1efaf5d35153b7f9e2e22b41d4320adb;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 14ceebfc1..326da7d50 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -31,16 +31,14 @@ #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);