git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
miscdevice.h
diff --git
a/include/linux/miscdevice.h
b/include/linux/miscdevice.h
index
14ceebf
..
326da7d
100644
(file)
--- a/
include/linux/miscdevice.h
+++ b/
include/linux/miscdevice.h
@@
-31,16
+31,14
@@
#define HPET_MINOR 228
struct device;
#define HPET_MINOR 228
struct device;
-struct class_device;
struct miscdevice {
int minor;
const char *name;
struct miscdevice {
int minor;
const char *name;
- struct file_operations *fops;
+
const
struct file_operations *fops;
struct list_head list;
struct list_head list;
- struct device *dev;
- struct class_device *class;
- char devfs_name[64];
+ struct device *parent;
+ struct device *this_device;
};
extern int misc_register(struct miscdevice * misc);
};
extern int misc_register(struct miscdevice * misc);