summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/chrdev.h
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-09-02 17:14:39 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-06 16:02:00 -0700
commit330c6c57e6284a755d7e8a031b3c917571ee6dc3 (patch)
treeabb9e34fbc4cfb5949725a5c357a777bc96787db /drivers/staging/iio/chrdev.h
parent32b5eecab0f2d6f66f2e237e161d58d5916f8b13 (diff)
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;
};