]> err.no Git - linux-2.6/blobdiff - include/linux/miscdevice.h
[MIPS] Rename SNI_RM200_PCI to just SNI_RM preparing for more RM machines
[linux-2.6] / include / linux / miscdevice.h
index b03cfb91e228dd993987e3b2eb497c832397e073..326da7d500c73953624093bd6cb9ae995d8e1725 100644 (file)
 #define        HPET_MINOR           228
 
 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);