git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sysfs: Comment sysfs directory tagging logic
[safe/jmp/linux-2.6]
/
include
/
linux
/
miscdevice.h
diff --git
a/include/linux/miscdevice.h
b/include/linux/miscdevice.h
index
0521177
..
8b5f7cc
100644
(file)
--- 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 HPET_MINOR 228
#define FUSE_MINOR 229
#define KVM_MINOR 232
+#define VHOST_NET_MINOR 233
#define MISC_DYNAMIC_MINOR 255
struct device;
#define MISC_DYNAMIC_MINOR 255
struct device;
@@
-41,7
+42,8
@@
struct miscdevice {
struct list_head list;
struct device *parent;
struct device *this_device;
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);
};
extern int misc_register(struct miscdevice * misc);