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
string: factorize skip_spaces and export it to be generally available
[safe/jmp/linux-2.6]
/
include
/
linux
/
miscdevice.h
diff --git
a/include/linux/miscdevice.h
b/include/linux/miscdevice.h
index
a820f81
..
adaf3c1
100644
(file)
--- a/
include/linux/miscdevice.h
+++ b/
include/linux/miscdevice.h
@@
-26,6
+26,7
@@
#define TUN_MINOR 200
#define MWAVE_MINOR 219 /* ACP/Mwave Modem */
#define MPT_MINOR 220
#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
#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;
struct list_head list;
struct device *parent;
struct device *this_device;
+ const char *nodename;
+ mode_t mode;
};
extern int misc_register(struct miscdevice * misc);
};
extern int misc_register(struct miscdevice * misc);