diff options
Diffstat (limited to 'include/linux/uio_driver.h')
-rw-r--r-- | include/linux/uio_driver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/uio_driver.h b/include/linux/uio_driver.h index 3c85c81b0027..6c5f2074e14f 100644 --- a/include/linux/uio_driver.h +++ b/include/linux/uio_driver.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #ifndef _UIO_DRIVER_H_ | 14 | #ifndef _UIO_DRIVER_H_ |
15 | #define _UIO_DRIVER_H_ | 15 | #define _UIO_DRIVER_H_ |
16 | 16 | ||
17 | #include <linux/device.h> | ||
17 | #include <linux/fs.h> | 18 | #include <linux/fs.h> |
18 | #include <linux/interrupt.h> | 19 | #include <linux/interrupt.h> |
19 | 20 | ||
@@ -68,12 +69,13 @@ struct uio_port { | |||
68 | 69 | ||
69 | struct uio_device { | 70 | struct uio_device { |
70 | struct module *owner; | 71 | struct module *owner; |
71 | struct device *dev; | 72 | struct device dev; |
72 | int minor; | 73 | int minor; |
73 | atomic_t event; | 74 | atomic_t event; |
74 | struct fasync_struct *async_queue; | 75 | struct fasync_struct *async_queue; |
75 | wait_queue_head_t wait; | 76 | wait_queue_head_t wait; |
76 | struct uio_info *info; | 77 | struct uio_info *info; |
78 | spinlock_t info_lock; | ||
77 | struct kobject *map_dir; | 79 | struct kobject *map_dir; |
78 | struct kobject *portio_dir; | 80 | struct kobject *portio_dir; |
79 | }; | 81 | }; |