summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/chrdev.h
diff options
context:
space:
mode:
authorJonathan Cameron2011-09-02 18:14:39 +0200
committerGreg Kroah-Hartman2011-09-07 01:02:00 +0200
commit330c6c57e6284a755d7e8a031b3c917571ee6dc3 (patch)
treeabb9e34fbc4cfb5949725a5c357a777bc96787db /drivers/staging/iio/chrdev.h
parentstaging:iio: Switch the channel masks to bitmaps so as to allow for more chan... (diff)
downloadkernel-qcow2-linux-330c6c57e6284a755d7e8a031b3c917571ee6dc3.tar.gz
kernel-qcow2-linux-330c6c57e6284a755d7e8a031b3c917571ee6dc3.tar.xz
kernel-qcow2-linux-330c6c57e6284a755d7e8a031b3c917571ee6dc3.zip
staging:iio:events - new 64 bit code structure and push out drivers.
This costs us nothing in event storage (as we are carrying a 64 bit timestamp in the structure) and gives us lots more room to play with. Also allows for more channels which some parts need. V2: Cleanup some loose ends (such as the switch with only one option now). Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/chrdev.h')
-rw-r--r--drivers/staging/iio/chrdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/chrdev.h b/drivers/staging/iio/chrdev.h
index 28cce12346a3..d8e736f60522 100644
--- a/drivers/staging/iio/chrdev.h
+++ b/drivers/staging/iio/chrdev.h
@@ -17,7 +17,7 @@
* the interrupt handler)
*/
struct iio_event_data {
- int id;
+ u64 id;
s64 timestamp;
};