bnx2x: update driver version to 1.70.30-0
[linux-2.6.git] / drivers / staging / iio / chrdev.h
blobd8e736f605229945913404710c49da95759926e6
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.
8 */
10 #ifndef _IIO_CHRDEV_H_
11 #define _IIO_CHRDEV_H_
13 /**
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 {
20 u64 id;
21 s64 timestamp;
24 #define IIO_GET_EVENT_FD_IOCTL _IOR('i', 0x90, int)
25 #endif