string: factorize skip_spaces and export it to be generally available
[safe/jmp/linux-2.6] / include / linux / miscdevice.h
index a820f81..adaf3c1 100644 (file)
@@ -26,6 +26,7 @@
 #define TUN_MINOR              200
 #define MWAVE_MINOR            219     /* ACP/Mwave Modem */
 #define MPT_MINOR              220
+#define MPT2SAS_MINOR          221
 #define HPET_MINOR             228
 #define FUSE_MINOR             229
 #define KVM_MINOR              232
@@ -40,6 +41,8 @@ struct miscdevice  {
        struct list_head list;
        struct device *parent;
        struct device *this_device;
+       const char *nodename;
+       mode_t mode;
 };
 
 extern int misc_register(struct miscdevice * misc);