diff options
| author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-07-24 09:21:50 -0400 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-02 13:33:42 -0400 |
| commit | a316c01d59e9d45ede1083a81ae82eb15ae7eab3 (patch) | |
| tree | 7aade07a593b87c3f28a93fa48c311346aa24b56 | |
| parent | 0123635a77f72e0787f6f8b3ac796a40f796fcc4 (diff) | |
iio: event: Add missing fields in kernel docs
Fix kernel docs warnings by adding the missing fields,
each with its associated description.
Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
| -rw-r--r-- | drivers/iio/industrialio-event.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c index 894d8137c4cf..b2f63f919cc4 100644 --- a/drivers/iio/industrialio-event.c +++ b/drivers/iio/industrialio-event.c | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | * @dev_attr_list: list of event interface sysfs attribute | 32 | * @dev_attr_list: list of event interface sysfs attribute |
| 33 | * @flags: file operations related flags including busy flag. | 33 | * @flags: file operations related flags including busy flag. |
| 34 | * @group: event interface sysfs attribute group | 34 | * @group: event interface sysfs attribute group |
| 35 | * @read_lock: lock to protect kfifo read operations | ||
| 35 | */ | 36 | */ |
| 36 | struct iio_event_interface { | 37 | struct iio_event_interface { |
| 37 | wait_queue_head_t wait; | 38 | wait_queue_head_t wait; |
| @@ -75,6 +76,11 @@ EXPORT_SYMBOL(iio_push_event); | |||
| 75 | 76 | ||
| 76 | /** | 77 | /** |
| 77 | * iio_event_poll() - poll the event queue to find out if it has data | 78 | * iio_event_poll() - poll the event queue to find out if it has data |
| 79 | * @filep: File structure pointer to identify the device | ||
| 80 | * @wait: Poll table pointer to add the wait queue on | ||
| 81 | * | ||
| 82 | * Return: (POLLIN | POLLRDNORM) if data is available for reading | ||
| 83 | * or a negative error code on failure | ||
| 78 | */ | 84 | */ |
| 79 | static unsigned int iio_event_poll(struct file *filep, | 85 | static unsigned int iio_event_poll(struct file *filep, |
| 80 | struct poll_table_struct *wait) | 86 | struct poll_table_struct *wait) |
