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
Driver Core: misc: add nodename support for misc devices.
[safe/jmp/linux-2.6]
/
include
/
linux
/
miscdevice.h
diff --git
a/include/linux/miscdevice.h
b/include/linux/miscdevice.h
index
beb6ec9
..
0521177
100644
(file)
--- a/
include/linux/miscdevice.h
+++ b/
include/linux/miscdevice.h
@@
-41,6
+41,7
@@
struct miscdevice {
struct list_head list;
struct device *parent;
struct device *this_device;
+ const char *devnode;
};
extern int misc_register(struct miscdevice * misc);