1 /* The industrial I/O core - character device related
3 * Copyright (c) 2008 Jonathan Cameron
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
10 #ifndef _IIO_CHRDEV_H_
11 #define _IIO_CHRDEV_H_
14 * struct iio_event_data - The actual event being pushed to userspace
15 * @id: event identifier
16 * @timestamp: best estimate of time of event occurrence (often from
17 * the interrupt handler)
19 struct iio_event_data
{
24 #define IIO_GET_EVENT_FD_IOCTL _IOR('i', 0x90, int)