diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/miscdevice.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index b03cfb91e228..326da7d500c7 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h | |||
| @@ -31,15 +31,14 @@ | |||
| 31 | #define HPET_MINOR 228 | 31 | #define HPET_MINOR 228 |
| 32 | 32 | ||
| 33 | struct device; | 33 | struct device; |
| 34 | struct class_device; | ||
| 35 | 34 | ||
| 36 | struct miscdevice { | 35 | struct miscdevice { |
| 37 | int minor; | 36 | int minor; |
| 38 | const char *name; | 37 | const char *name; |
| 39 | const struct file_operations *fops; | 38 | const struct file_operations *fops; |
| 40 | struct list_head list; | 39 | struct list_head list; |
| 41 | struct device *dev; | 40 | struct device *parent; |
| 42 | struct class_device *class; | 41 | struct device *this_device; |
| 43 | }; | 42 | }; |
| 44 | 43 | ||
| 45 | extern int misc_register(struct miscdevice * misc); | 44 | extern int misc_register(struct miscdevice * misc); |
