diff options
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/industrialio-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c index 19f897f3c85..580f3738d59 100644 --- a/drivers/staging/iio/industrialio-core.c +++ b/drivers/staging/iio/industrialio-core.c | |||
@@ -112,13 +112,14 @@ struct iio_detected_event_list { | |||
112 | 112 | ||
113 | /** | 113 | /** |
114 | * struct iio_event_interface - chrdev interface for an event line | 114 | * struct iio_event_interface - chrdev interface for an event line |
115 | * @dev: device assocated with event interface | ||
116 | * @wait: wait queue to allow blocking reads of events | 115 | * @wait: wait queue to allow blocking reads of events |
117 | * @event_list_lock: mutex to protect the list of detected events | 116 | * @event_list_lock: mutex to protect the list of detected events |
118 | * @det_events: list of detected events | 117 | * @det_events: list of detected events |
119 | * @max_events: maximum number of events before new ones are dropped | 118 | * @max_events: maximum number of events before new ones are dropped |
120 | * @current_events: number of events in detected list | 119 | * @current_events: number of events in detected list |
120 | * @dev_attr_list: list of event interface sysfs attribute | ||
121 | * @flags: file operations related flags including busy flag. | 121 | * @flags: file operations related flags including busy flag. |
122 | * @group: event interface sysfs attribute group | ||
122 | */ | 123 | */ |
123 | struct iio_event_interface { | 124 | struct iio_event_interface { |
124 | wait_queue_head_t wait; | 125 | wait_queue_head_t wait; |