Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / linux / miscdevice.h
index 041263a..5b584da 100644 (file)
@@ -19,6 +19,7 @@
 #define SUN_OPENPROM_MINOR 139
 #define DMAPI_MINOR            140     /* DMAPI */
 #define NVRAM_MINOR 144
+#define SGI_MMTIMER        153
 #define STORE_QUEUE_MINOR      155
 #define I2O_MINOR 166
 #define MICROCODE_MINOR                184
 #define        HPET_MINOR           228
 
 struct device;
+struct class_device;
 
-struct miscdevice 
-{
+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];
 };