diff options
author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-07-24 16:21:50 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-02 18:33:42 +0100 |
commit | a316c01d59e9d45ede1083a81ae82eb15ae7eab3 (patch) | |
tree | 7aade07a593b87c3f28a93fa48c311346aa24b56 | |
parent | 0123635a77f72e0787f6f8b3ac796a40f796fcc4 (diff) | |
download | op-kernel-dev-a316c01d59e9d45ede1083a81ae82eb15ae7eab3.zip op-kernel-dev-a316c01d59e9d45ede1083a81ae82eb15ae7eab3.tar.gz |
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 894d813..b2f63f9 100644 --- a/drivers/iio/industrialio-event.c +++ b/drivers/iio/industrialio-event.c @@ -32,6 +32,7 @@ * @dev_attr_list: list of event interface sysfs attribute * @flags: file operations related flags including busy flag. * @group: event interface sysfs attribute group + * @read_lock: lock to protect kfifo read operations */ struct iio_event_interface { wait_queue_head_t wait; @@ -75,6 +76,11 @@ EXPORT_SYMBOL(iio_push_event); /** * iio_event_poll() - poll the event queue to find out if it has data + * @filep: File structure pointer to identify the device + * @wait: Poll table pointer to add the wait queue on + * + * Return: (POLLIN | POLLRDNORM) if data is available for reading + * or a negative error code on failure */ static unsigned int iio_event_poll(struct file *filep, struct poll_table_struct *wait) |