Skip to content

Commit

Permalink
iio: event: Add missing fields in kernel docs
Browse files Browse the repository at this point in the history
Fix kernel docs warnings by adding the missing fields,
each with its associated description.

Signed-off-by: Cristina Opriceana <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
cristina2689 authored and jic23 committed Aug 2, 2015
1 parent 0123635 commit a316c01
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/iio/industrialio-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a316c01

Please sign in to comment.