X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fmiscdevice.h;h=8b5f7cc0fba6cd9f5f69f5521d00c788c2fe0dc9;hb=be867b194a3ae3c680c29521287ae49b4d44d420;hp=052117744629bfd05e300528f99e5675574dda3e;hpb=d405640539555b601e52f7d18f1f0b1345d18bf5;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 0521177..8b5f7cc 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -30,6 +30,7 @@ #define HPET_MINOR 228 #define FUSE_MINOR 229 #define KVM_MINOR 232 +#define VHOST_NET_MINOR 233 #define MISC_DYNAMIC_MINOR 255 struct device; @@ -41,7 +42,8 @@ struct miscdevice { struct list_head list; struct device *parent; struct device *this_device; - const char *devnode; + const char *nodename; + mode_t mode; }; extern int misc_register(struct miscdevice * misc);